Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001374/0.001374, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001524/0.001524, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.565/1.565, allocations: 177.2 MB / 203.1 MB, free: 5.59 MB / 186.7 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-535:34: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-535:42: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.266/1.266, allocations: 154.8 MB / 414.3 MB, free: 460 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.803e-05, allocations: 8.562 kB / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002146/0.002184, allocations: 0.7178 MB / 0.5206 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.004005, allocations: 1.092 MB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.279e-05/0.004058, allocations: 4 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.004096, allocations: 3.938 kB / 0.5216 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.004186, allocations: 12.36 kB / 0.5217 GB, free: 468 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.004558, allocations: 57.14 kB / 0.5217 GB, free: 412 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.004721, allocations: 75.75 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004835, allocations: 8.188 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.004963, allocations: 48.86 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.005028, allocations: 23.91 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.005057, allocations: 8.969 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.773e-05/0.005124, allocations: 19.92 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.005156, allocations: 19.91 kB / 0.5219 GB, free: 204 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.005205, allocations: 13 kB / 0.5219 GB, free: 192 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.005406, allocations: 91.66 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.005409, allocations: 0 / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.005411, allocations: 0.9688 kB / 0.522 GB, free: 100 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.005416, allocations: 0 / 0.522 GB, free: 100 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006723/0.006088, allocations: 303.6 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.006136, allocations: 8.031 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.006206, allocations: 16.89 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.006369, allocations: 116.8 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.006388, allocations: 4.938 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.006412, allocations: 17.02 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.006658, allocations: 63.45 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.006668, allocations: 4.125 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.00668, allocations: 384 / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.006691, allocations: 4.75 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.006879, allocations: 45.77 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.007585, allocations: 252.4 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.007794, allocations: 60.17 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.007899, allocations: 24.97 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.007932, allocations: 9.203 kB / 0.5229 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.00821, allocations: 75.42 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.008211, allocations: 0 / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0005038/0.008715, allocations: 142.9 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.008774, allocations: 52.88 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.00891, allocations: 121.8 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.008937, allocations: 29.7 kB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.009022, allocations: 96.08 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.00905, allocations: 21.09 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.009108, allocations: 25.7 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.009299, allocations: 314.8 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.009425, allocations: 39.53 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.009581, allocations: 73.98 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.009839, allocations: 107 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.009841, allocations: 0.5312 kB / 0.524 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003458/0.01019, allocations: 137.4 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.0102, allocations: 8 kB / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.01021, allocations: 0 / 0.5241 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.01024, allocations: 4 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.01039, allocations: 23.91 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.0104, allocations: 3.938 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.01048, allocations: 14.7 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.0105, allocations: 7.984 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$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): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001257/0.01063, allocations: 120.5 kB / 0.5243 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.01065, allocations: 15.89 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.01068, allocations: 8.438 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01068, allocations: 0 / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.01069, allocations: 1.5 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01069, allocations: 0 / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.01121, allocations: 319 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.01121, allocations: 0 / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.01128, allocations: 16.92 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01128, allocations: 0 / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.0113, allocations: 4 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.0113, allocations: 0.6562 kB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.0113, allocations: 0 / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.01166, allocations: 215.3 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.01168, allocations: 7.953 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.0117, allocations: 3.984 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.01178, allocations: 4 kB / 0.5248 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.01183, allocations: 11.98 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.01184, allocations: 0 / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.427e-05/0.01191, allocations: 97.34 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01191, allocations: 3.125 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002733/0.01219, allocations: 12 kB / 0.5249 GB, free: 12.86 MB / 0.4948 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 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002041/0.01239, allocations: 111.2 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.01269, allocations: 75.17 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01269, allocations: 0 / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.01281, allocations: 31.97 kB / 0.5252 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.01311, allocations: 15.94 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.01357, allocations: 165 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.112e-05/0.01366, allocations: 78.8 kB / 0.5254 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.0137, allocations: 7.984 kB / 0.5254 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.01373, allocations: 16.5 kB / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.01373, allocations: 0 / 0.5254 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.004523/0.01826, allocations: 1.015 MB / 0.5264 GB, free: 11.36 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.852884412975982]