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.00174/0.00174, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.002225/0.002225, allocations: 167.1 kB / 22.46 MB, free: 5.359 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.505/1.505, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.193/1.193, allocations: 154.6 MB / 413.7 MB, free: 5.273 MB / 382.1 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 2.284e-06/2.284e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.133e-05, allocations: 2.938 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001932/0.001963, allocations: 0.7221 MB / 0.6192 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.003593, allocations: 1.093 MB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.006e-05/0.003653, allocations: 11.94 kB / 0.6203 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.003686, allocations: 3.938 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.28e-05/0.003759, allocations: 11.81 kB / 0.6203 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.004091, allocations: 55.81 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.004224, allocations: 67.78 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.004327, allocations: 16.16 kB / 0.6205 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.004432, allocations: 47.84 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.004494, allocations: 23.95 kB / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.004514, allocations: 4 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.862e-05/0.004572, allocations: 15.98 kB / 0.6206 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.004598, allocations: 19.94 kB / 0.6206 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.004642, allocations: 23.91 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.004807, allocations: 87.67 kB / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.004809, allocations: 0 / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.31e-07/0.00481, allocations: 0 / 0.6207 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.004814, allocations: 0 / 0.6207 GB, free: 2.43 MB / 0.5294 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.0005669/0.005381, allocations: 314 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.005418, allocations: 9.469 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.005458, allocations: 8.891 kB / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.005586, allocations: 117.7 kB / 0.6211 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.005605, allocations: 8.375 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.005625, allocations: 8.375 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.00583, allocations: 66.22 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.005839, allocations: 192 / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.005848, allocations: 384 / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.005854, allocations: 4.125 kB / 0.6212 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.006038, allocations: 47.95 kB / 0.6212 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.006651, allocations: 268.3 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.006843, allocations: 50.55 kB / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.006944, allocations: 24.97 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.006968, allocations: 7.938 kB / 0.6216 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.007198, allocations: 87.34 kB / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.007199, allocations: 0 / 0.6217 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004485/0.007647, allocations: 129.6 kB / 0.6218 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.007692, allocations: 55.41 kB / 0.6218 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.007816, allocations: 129.2 kB / 0.622 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.007839, allocations: 29.7 kB / 0.622 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.0079, allocations: 88.14 kB / 0.6221 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.007923, allocations: 11.91 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.007975, allocations: 33.64 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.008136, allocations: 318.8 kB / 0.6224 GB, free: 500 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.008249, allocations: 39.91 kB / 0.6225 GB, free: 460 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.00839, allocations: 73.98 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.008643, allocations: 101.9 kB / 0.6226 GB, free: 240 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.008647, allocations: 4 kB / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003206/0.008967, allocations: 137.3 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.008983, allocations: 4 kB / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008989, allocations: 0 / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.009013, allocations: 4.219 kB / 0.6228 GB, free: 84 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.009144, allocations: 19.98 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.009162, allocations: 4 kB / 0.6228 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.009249, allocations: 19.88 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.009265, allocations: 4 kB / 0.6228 GB, free: 36 kB / 0.5294 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.0001242/0.009389, allocations: 125 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.009404, allocations: 7.891 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.00944, allocations: 16.42 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.009442, allocations: 0 / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.009446, allocations: 0 / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.009449, allocations: 4 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.009921, allocations: 318.1 kB / 0.6233 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009922, allocations: 0 / 0.6233 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.009976, allocations: 7.984 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.009978, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.009987, allocations: 4 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.009988, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.009989, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.01031, allocations: 211.3 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.332e-05/0.01032, allocations: 7.891 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.01034, allocations: 7.938 kB / 0.6235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.449e-05/0.01042, allocations: 15.92 kB / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.01047, allocations: 4 kB / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.01047, allocations: 4 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.065e-05/0.01054, allocations: 91.27 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.01054, allocations: 0 / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002517/0.01079, allocations: 16 kB / 0.6236 GB, free: 15.15 MB / 0.545 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.0001918/0.01098, allocations: 107.2 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.01126, allocations: 79.86 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01127, allocations: 0 / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.01138, allocations: 31.92 kB / 0.6238 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.01165, allocations: 20.36 kB / 0.6238 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.01206, allocations: 161.5 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.01214, allocations: 75.08 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.01217, allocations: 8 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.01221, allocations: 12.5 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of SimCode: time 3.6e-07/0.01221, allocations: 0 / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of Templates: time 0.004209/0.01641, allocations: 1.005 MB / 0.6251 GB, free: 13.63 MB / 0.545 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.90229044854641] Failed to read output from testmodel.py, exit status != 0: 0.0256706140935421 0.041675769 0.033850641 Calling exit ...