Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001304/0.001304, allocations: 83.19 kB / 19.18 MB, free: 2.363 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.001412/0.001412, allocations: 173.7 kB / 22.46 MB, free: 4.988 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.418/1.418, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.166/1.166, allocations: 154.7 MB / 413.9 MB, free: 5.188 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6188 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.32e-05, allocations: 3 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001736/0.001759, allocations: 0.7207 MB / 0.6195 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.00332, allocations: 1.092 MB / 0.6205 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.003367, allocations: 0 / 0.6205 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.003397, allocations: 15.86 kB / 0.6205 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.003467, allocations: 11.88 kB / 0.6206 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.003753, allocations: 47.77 kB / 0.6206 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003876, allocations: 75.81 kB / 0.6207 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.003977, allocations: 12.19 kB / 0.6207 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/0.004069, allocations: 43.89 kB / 0.6207 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.00412, allocations: 23.91 kB / 0.6208 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.00414, allocations: 8 kB / 0.6208 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.659e-05/0.004196, allocations: 23.92 kB / 0.6208 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.00422, allocations: 15.97 kB / 0.6208 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.004259, allocations: 23.92 kB / 0.6208 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.004416, allocations: 95.66 kB / 0.6209 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.706e-06/0.004418, allocations: 0 / 0.6209 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.81e-07/0.004419, allocations: 0 / 0.6209 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.651e-05/0.004436, allocations: 0 / 0.6209 GB, free: 2.332 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.0005195/0.004955, allocations: 302 kB / 0.6212 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.00499, allocations: 8.031 kB / 0.6212 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.005026, allocations: 12.83 kB / 0.6212 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.005152, allocations: 112.4 kB / 0.6213 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.005167, allocations: 12.36 kB / 0.6213 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.005185, allocations: 12.31 kB / 0.6214 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.005371, allocations: 58.23 kB / 0.6214 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.005379, allocations: 4.188 kB / 0.6214 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005391, allocations: 4.375 kB / 0.6214 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.005398, allocations: 4.125 kB / 0.6214 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.005565, allocations: 39.95 kB / 0.6215 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.006149, allocations: 260.4 kB / 0.6217 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.006317, allocations: 50.55 kB / 0.6218 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.293e-05/0.00641, allocations: 24.97 kB / 0.6218 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.006438, allocations: 11.92 kB / 0.6218 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.006621, allocations: 83.36 kB / 0.6219 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.006623, allocations: 0 / 0.6219 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0003974/0.00702, allocations: 125.6 kB / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.007064, allocations: 55.41 kB / 0.622 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.007175, allocations: 129.7 kB / 0.6222 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.007195, allocations: 29.7 kB / 0.6222 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.007252, allocations: 88.12 kB / 0.6223 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.007274, allocations: 19.89 kB / 0.6223 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.007325, allocations: 29.7 kB / 0.6223 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.007473, allocations: 318.8 kB / 0.6226 GB, free: 420 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.007579, allocations: 27.97 kB / 0.6227 GB, free: 392 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.007722, allocations: 77.92 kB / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.007957, allocations: 105.9 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007959, allocations: 4 kB / 0.6228 GB, free: 160 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003097/0.008269, allocations: 137.3 kB / 0.623 GB, free: 16 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.008283, allocations: 8 kB / 0.623 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.008287, allocations: 0 / 0.623 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.008302, allocations: 4 kB / 0.623 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.008446, allocations: 20.19 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.008451, allocations: 4 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.389e-05/0.008535, allocations: 15.89 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.00855, allocations: 7.984 kB / 0.623 GB, free: 15.96 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.641e-05/0.008646, allocations: 124.8 kB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.008664, allocations: 15.83 kB / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.008691, allocations: 8.438 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.008696, allocations: 7.984 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.0087, allocations: 0 / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.008703, allocations: 0 / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.009142, allocations: 310.1 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.009146, allocations: 4 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.009198, allocations: 7.984 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.009199, allocations: 0 / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.009209, allocations: 4 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.00921, allocations: 3.938 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.009213, allocations: 4 kB / 0.6235 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.009527, allocations: 211.3 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.009543, allocations: 15.89 kB / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.009556, allocations: 0 / 0.6237 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.009639, allocations: 7.984 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.009677, allocations: 7.984 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.009682, allocations: 0 / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.009742, allocations: 102.2 kB / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009742, allocations: 0 / 0.6238 GB, free: 15.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002468/0.009989, allocations: 12 kB / 0.6238 GB, free: 15.07 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.0001358/0.01012, allocations: 101.8 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01039, allocations: 75.88 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.01039, allocations: 4 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.0105, allocations: 35.91 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01075, allocations: 8.375 kB / 0.624 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.01108, allocations: 169.5 kB / 0.6242 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.93e-05/0.01115, allocations: 75.08 kB / 0.6243 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.01119, allocations: 4 kB / 0.6243 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.01122, allocations: 16.48 kB / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.01122, allocations: 0 / 0.6243 GB, free: 14.53 MB / 0.545 GB Notification: Performance of Templates: time 0.003616/0.01483, allocations: 1.027 MB / 0.6253 GB, free: 13.53 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.532424775883555] Failed to read output from testmodel.py, exit status != 0: 0.022629903629422188 0.037033201 0.029610669000000003 Calling exit ...