Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.00144/0.00144, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001531/0.001531, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.487/1.487, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.225/1.225, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.037e-05, allocations: 4.953 kB / 0.6186 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.001888/0.001918, allocations: 0.7184 MB / 0.6193 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.003639, allocations: 1.107 MB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.003687, allocations: 0 / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.371e-05/0.003721, allocations: 3.938 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.016e-05/0.003801, allocations: 11.88 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.00411, allocations: 51.75 kB / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.00423, allocations: 76.36 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004333, allocations: 28.05 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.004442, allocations: 33.94 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.004502, allocations: 31.89 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.004522, allocations: 4 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.004585, allocations: 16 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.055e-05/0.004615, allocations: 19.91 kB / 0.6206 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.004659, allocations: 23.98 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.004835, allocations: 87.67 kB / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.004839, allocations: 0 / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.61e-07/0.00484, allocations: 0 / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.004844, allocations: 0 / 0.6207 GB, free: 2.328 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.0006014/0.005446, allocations: 302 kB / 0.621 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.005481, allocations: 8.031 kB / 0.621 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.005525, allocations: 12.89 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.00564, allocations: 121.7 kB / 0.6212 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.005659, allocations: 8.375 kB / 0.6212 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.005676, allocations: 12.31 kB / 0.6212 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.005882, allocations: 66.22 kB / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.00589, allocations: 192 / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.0059, allocations: 384 / 0.6213 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.005907, allocations: 4.125 kB / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.006096, allocations: 47.89 kB / 0.6213 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006355/0.006731, allocations: 256.5 kB / 0.6215 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.00691, allocations: 50.59 kB / 0.6216 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.007018, allocations: 28.95 kB / 0.6216 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.007042, allocations: 3.938 kB / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.007272, allocations: 83.31 kB / 0.6217 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 5.039e-06/0.007277, allocations: 3.984 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004549/0.007732, allocations: 133.6 kB / 0.6218 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.007786, allocations: 55.34 kB / 0.6219 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.007896, allocations: 125.8 kB / 0.622 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.007928, allocations: 29.7 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.007996, allocations: 88.12 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.008018, allocations: 15.91 kB / 0.6221 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.008075, allocations: 29.7 kB / 0.6222 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.008222, allocations: 322.8 kB / 0.6225 GB, free: 400 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.008334, allocations: 27.92 kB / 0.6225 GB, free: 372 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.008478, allocations: 73.98 kB / 0.6226 GB, free: 276 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002618/0.00874, allocations: 109.8 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008741, allocations: 4 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003421/0.009084, allocations: 137.5 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.009101, allocations: 8 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.009106, allocations: 3.938 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.009127, allocations: 4 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.009267, allocations: 20.2 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.009276, allocations: 3.938 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.009377, allocations: 19.88 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.009393, allocations: 4 kB / 0.6229 GB, free: 15.93 MB / 0.545 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 9.96e-05/0.009492, allocations: 118.8 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.00951, allocations: 11.89 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.00954, allocations: 4.438 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.009543, allocations: 4 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.009547, allocations: 0 / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.009555, allocations: 3.984 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.01006, allocations: 318.1 kB / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.01006, allocations: 4 kB / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.01012, allocations: 4 kB / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01012, allocations: 0 / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01013, allocations: 3.984 kB / 0.6233 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.01014, allocations: 4 kB / 0.6233 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01014, allocations: 4 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.01046, allocations: 203.3 kB / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.689e-05/0.01048, allocations: 15.88 kB / 0.6235 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.0105, allocations: 4 kB / 0.6235 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.01058, allocations: 4 kB / 0.6235 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.01063, allocations: 7.984 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01063, allocations: 0 / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.0107, allocations: 97.56 kB / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.0107, allocations: 0 / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002589/0.01096, allocations: 16 kB / 0.6237 GB, free: 15.06 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.0001862/0.01114, allocations: 111.2 kB / 0.6238 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002944/0.01144, allocations: 75.83 kB / 0.6238 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.01144, allocations: 0 / 0.6238 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.01156, allocations: 31.97 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.01185, allocations: 20.25 kB / 0.6239 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/0.01225, allocations: 165.5 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.01233, allocations: 75.08 kB / 0.6241 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.01237, allocations: 11.98 kB / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.0124, allocations: 12.5 kB / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 4.3e-07/0.0124, allocations: 0 / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of Templates: time 0.003993/0.0164, allocations: 1.022 MB / 0.6251 GB, free: 13.55 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.807299178093672] Failed to read output from testmodel.py, exit status != 0: 0.025044508278369904 0.039324649 0.031438076 Calling exit ...