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.0009615/0.0009615, allocations: 73.97 kB / 20.66 MB, free: 3.848 MB / 18.57 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.0009427/0.0009427, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.1/1.1, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7772/0.7772, allocations: 154.9 MB / 415.9 MB, free: 252 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 179] 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 2.074e-06/2.074e-06, allocations: 0 / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.339e-05, allocations: 9.969 kB / 0.5219 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001343/0.001366, allocations: 0.7295 MB / 0.5226 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.002336, allocations: 1.121 MB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.002376, allocations: 0 / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.002403, allocations: 4.969 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.00247, allocations: 15.88 kB / 0.5237 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.002711, allocations: 56.78 kB / 0.5238 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.002802, allocations: 83.7 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.86e-05/0.002881, allocations: 12.8 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.002959, allocations: 39.95 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.165e-05/0.003001, allocations: 25.28 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.003015, allocations: 4 kB / 0.5239 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.003064, allocations: 16 kB / 0.524 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.003085, allocations: 19.91 kB / 0.524 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.003109, allocations: 20.55 kB / 0.524 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.00321, allocations: 60.36 kB / 0.5241 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.003213, allocations: 4 kB / 0.5241 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003214, allocations: 1.281 kB / 0.5241 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.003216, allocations: 0 / 0.5241 GB, free: 15.33 MB / 0.4948 GB 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.0003338/0.00355, allocations: 396.4 kB / 0.5244 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.00358, allocations: 12.88 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.003608, allocations: 8.891 kB / 0.5245 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.003683, allocations: 129.6 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.003692, allocations: 4.375 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.003701, allocations: 4.375 kB / 0.5246 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.603e-05/0.003787, allocations: 71.61 kB / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.003793, allocations: 192 / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.0038, allocations: 1.062 kB / 0.5247 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.003805, allocations: 8.125 kB / 0.5247 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.003825, allocations: 8.766 kB / 0.5247 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.004133, allocations: 289.2 kB / 0.525 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.004199, allocations: 41.73 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.004216, allocations: 11.81 kB / 0.525 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.00423, allocations: 4 kB / 0.525 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/0.004289, allocations: 68.97 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.00429, allocations: 0 / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001368/0.004427, allocations: 81.66 kB / 0.5252 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.004458, allocations: 55.41 kB / 0.5252 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.004532, allocations: 175.2 kB / 0.5254 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.004546, allocations: 29.7 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.004591, allocations: 146.7 kB / 0.5255 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.004609, allocations: 20.45 kB / 0.5256 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.004644, allocations: 31.36 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.004744, allocations: 497.1 kB / 0.5261 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.837e-05/0.004763, allocations: 11.98 kB / 0.5261 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.642e-05/0.004809, allocations: 73.72 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.004875, allocations: 92.48 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.004877, allocations: 5.719 kB / 0.5262 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001001/0.004977, allocations: 102.5 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.004989, allocations: 4 kB / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.004993, allocations: 0 / 0.5263 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.005001, allocations: 8.703 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.005072, allocations: 15.98 kB / 0.5264 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.005074, allocations: 5.188 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.005107, allocations: 8 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.005116, allocations: 4 kB / 0.5264 GB, free: 12.71 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 6.3e-05/0.005179, allocations: 169.4 kB / 0.5265 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.00519, allocations: 11.89 kB / 0.5266 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.033e-05/0.00521, allocations: 19.17 kB / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.005212, allocations: 0 / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.005213, allocations: 0 / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005216, allocations: 0 / 0.5266 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.005409, allocations: 314 kB / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.00541, allocations: 0 / 0.5269 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.005431, allocations: 7.984 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005432, allocations: 2.688 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.005436, allocations: 0 / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.005438, allocations: 4 kB / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005439, allocations: 0 / 0.5269 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.00554, allocations: 228.1 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.005547, allocations: 7.938 kB / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.005556, allocations: 0 / 0.5271 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.633e-05/0.005592, allocations: 9.25 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.005622, allocations: 11.97 kB / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.005625, allocations: 0 / 0.5271 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.00566, allocations: 134.9 kB / 0.5273 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005661, allocations: 0.6562 kB / 0.5273 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001607/0.005821, allocations: 19.44 kB / 0.5273 GB, free: 11.74 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 9.594e-05/0.005917, allocations: 103.2 kB / 0.5274 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.823e-05/0.005995, allocations: 51.52 kB / 0.5274 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.005996, allocations: 4 kB / 0.5274 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.006024, allocations: 23.61 kB / 0.5275 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.006195, allocations: 14.47 kB / 0.5275 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.006414, allocations: 162.7 kB / 0.5276 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.006443, allocations: 63.34 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.006465, allocations: 4.781 kB / 0.5277 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.571e-05/0.006531, allocations: 78.19 kB / 0.5278 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.006531, allocations: 1.25 kB / 0.5278 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Templates: time 0.002435/0.008967, allocations: 1.156 MB / 0.5289 GB, free: 10.1 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7884153691120446]