Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 211.8 kB / 22.25 MB, free: 4.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.252/1.252, allocations: 203.8 MB / 0.5041 GB, free: 4.629 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 63.91 kB / 0.7186 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6021/0.6042, allocations: 102 MB / 0.8182 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.002206/0.6064, allocations: 0.7382 MB / 0.819 GB, free: 28.42 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.6082, allocations: 1.193 MB / 0.8201 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.6083, allocations: 1.188 kB / 0.8201 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.6083, allocations: 3.938 kB / 0.8201 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.109e-05/0.6084, allocations: 11.98 kB / 0.8201 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.6089, allocations: 145.1 kB / 0.8203 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.6092, allocations: 122.3 kB / 0.8204 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.6093, allocations: 13.27 kB / 0.8204 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.6094, allocations: 55.12 kB / 0.8205 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.6095, allocations: 42.36 kB / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.6095, allocations: 11.16 kB / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.6096, allocations: 28.3 kB / 0.8205 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.6097, allocations: 18.02 kB / 0.8206 GB, free: 27.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 7.883e-05/0.6097, allocations: 44.86 kB / 0.8206 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.61, allocations: 122.7 kB / 0.8207 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.61, allocations: 1.344 kB / 0.8207 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.412e-06/0.61, allocations: 0 / 0.8207 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.61, allocations: 0 / 0.8207 GB, free: 27.3 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006784/0.6107, allocations: 348.8 kB / 0.8211 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6108, allocations: 12.62 kB / 0.8211 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.6109, allocations: 12.89 kB / 0.8211 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.611, allocations: 116.8 kB / 0.8212 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.611, allocations: 4.719 kB / 0.8212 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.611, allocations: 12.23 kB / 0.8212 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.6112, allocations: 77.89 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.6112, allocations: 4.594 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.6113, allocations: 1.516 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.6113, allocations: 4.75 kB / 0.8213 GB, free: 26.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.6115, allocations: 48.31 kB / 0.8213 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.612, allocations: 273.7 kB / 0.8216 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.6122, allocations: 54.38 kB / 0.8216 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.6123, allocations: 32.02 kB / 0.8217 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.6123, allocations: 1.125 kB / 0.8217 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002728/0.6126, allocations: 96.39 kB / 0.8218 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.6126, allocations: 0 / 0.8218 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.0005381/0.6131, allocations: 150.6 kB / 0.8219 GB, free: 26.37 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.6131, allocations: 54 kB / 0.822 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.6132, allocations: 123.4 kB / 0.8221 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.6132, allocations: 28.48 kB / 0.8221 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.108e-05/0.6133, allocations: 94.89 kB / 0.8222 GB, free: 26.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.6133, allocations: 15.95 kB / 0.8222 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.6134, allocations: 43.05 kB / 0.8223 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.6135, allocations: 323.6 kB / 0.8226 GB, free: 25.72 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.6137, allocations: 90.22 kB / 0.8227 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.6138, allocations: 116.7 kB / 0.8228 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.6141, allocations: 153.4 kB / 0.8229 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6141, allocations: 0.7031 kB / 0.8229 GB, free: 25.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004784/0.6146, allocations: 240 kB / 0.8231 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.6146, allocations: 42.2 kB / 0.8232 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6146, allocations: 3.5 kB / 0.8232 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6146, allocations: 4.094 kB / 0.8232 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.6148, allocations: 17.56 kB / 0.8232 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6148, allocations: 1.906 kB / 0.8232 GB, free: 25.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.615, allocations: 35.28 kB / 0.8232 GB, free: 25.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.615, allocations: 16.02 kB / 0.8233 GB, free: 25.27 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.811e-05/0.6151, allocations: 126.9 kB / 0.8234 GB, free: 25.15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.6151, allocations: 7.828 kB / 0.8234 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003228/0.6154, allocations: 132.1 kB / 0.8235 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6154, allocations: 1.344 kB / 0.8235 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6154, allocations: 0 / 0.8235 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.6154, allocations: 2.188 kB / 0.8235 GB, free: 25.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.6158, allocations: 316.4 kB / 0.8238 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.6158, allocations: 4 kB / 0.8238 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.6159, allocations: 21.36 kB / 0.8238 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.6159, allocations: 5.781 kB / 0.8238 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.6159, allocations: 0.5625 kB / 0.8238 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6159, allocations: 1.719 kB / 0.8238 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6159, allocations: 0.6094 kB / 0.8238 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.6163, allocations: 211.1 kB / 0.824 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.6163, allocations: 12.34 kB / 0.8241 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.6163, allocations: 2.156 kB / 0.8241 GB, free: 24.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.6164, allocations: 14.28 kB / 0.8241 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.6165, allocations: 6.047 kB / 0.8241 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.6165, allocations: 3.172 kB / 0.8241 GB, free: 24.62 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.183e-05/0.6165, allocations: 99.56 kB / 0.8242 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6165, allocations: 0 / 0.8242 GB, free: 24.54 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003191/0.6169, allocations: 29.39 kB / 0.8242 GB, free: 24.53 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.617, allocations: 103.2 kB / 0.8243 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004136/0.6174, allocations: 200.2 kB / 0.8245 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6174, allocations: 1.281 kB / 0.8245 GB, free: 24.31 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.6175, allocations: 32.27 kB / 0.8245 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.6178, allocations: 13.88 kB / 0.8245 GB, free: 24.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.6182, allocations: 183.5 kB / 0.8247 GB, free: 24.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.388e-05/0.6183, allocations: 81.33 kB / 0.8248 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.569e-05/0.6183, allocations: 9.141 kB / 0.8248 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.6184, allocations: 11.38 kB / 0.8248 GB, free: 24.06 MB / 0.6387 GB Notification: Performance of SimCode: time 2.7e-07/0.6184, allocations: 0 / 0.8248 GB, free: 24.06 MB / 0.6387 GB Notification: Performance of Templates: time 0.00494/0.6233, allocations: 1.593 MB / 0.8264 GB, free: 23.88 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.832907324656844] Failed to read output from testmodel.py, exit status != 0: 0.6320834048092365 0.644099401 0.031349641000000004 Calling exit ...