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.001464/0.001464, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001674/0.001674, allocations: 169 kB / 22.46 MB, free: 5.363 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.504/1.504, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.224/1.224, allocations: 154.6 MB / 413.8 MB, free: 5.223 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 2.825e-06/2.825e-06, allocations: 0 / 0.6186 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.259e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002685/0.002717, allocations: 0.7198 MB / 0.6193 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.004998, allocations: 1.089 MB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.005075, allocations: 4 kB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.005109, allocations: 11.88 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.005195, allocations: 11.88 kB / 0.6204 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.005547, allocations: 55.75 kB / 0.6204 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.005683, allocations: 75.78 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.00579, allocations: 16.16 kB / 0.6205 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.005901, allocations: 39.91 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.856e-05/0.00596, allocations: 23.95 kB / 0.6206 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.00598, allocations: 4 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.417e-05/0.006045, allocations: 19.98 kB / 0.6206 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.491e-05/0.006079, allocations: 19.92 kB / 0.6206 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.006123, allocations: 23.92 kB / 0.6207 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.006298, allocations: 87.61 kB / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.006303, allocations: 4 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006304, allocations: 0 / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.006309, allocations: 0 / 0.6207 GB, free: 2.32 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.0005524/0.006861, allocations: 306 kB / 0.621 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.006898, allocations: 8.031 kB / 0.621 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.006943, allocations: 12.83 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.007061, allocations: 113.7 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.007076, allocations: 12.38 kB / 0.6212 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.007096, allocations: 8.375 kB / 0.6212 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.007305, allocations: 70.16 kB / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007314, allocations: 192 / 0.6213 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.007326, allocations: 4.359 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.007332, allocations: 4.125 kB / 0.6213 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.007518, allocations: 47.95 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.008177, allocations: 256.4 kB / 0.6215 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.008357, allocations: 50.55 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.008462, allocations: 24.97 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.008486, allocations: 7.938 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.008738, allocations: 79.33 kB / 0.6217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.00874, allocations: 0 / 0.6217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004388/0.009178, allocations: 133.6 kB / 0.6218 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.00923, allocations: 55.41 kB / 0.6219 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.009351, allocations: 129.8 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.009372, allocations: 25.7 kB / 0.622 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.009444, allocations: 88.14 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.009466, allocations: 15.84 kB / 0.6221 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.009526, allocations: 33.7 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.009674, allocations: 314.8 kB / 0.6225 GB, free: 400 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.009793, allocations: 35.97 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.009957, allocations: 73.98 kB / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.01022, allocations: 105.9 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.01022, allocations: 4 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003694/0.01059, allocations: 133.5 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01061, allocations: 4 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.01061, allocations: 0 / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.01063, allocations: 4 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.01076, allocations: 28.14 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.01077, allocations: 4 kB / 0.6228 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.01086, allocations: 15.88 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.01088, 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 0.0001117/0.01099, allocations: 122.8 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.01101, allocations: 11.83 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/0.01104, allocations: 16.36 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.01104, allocations: 0 / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.01104, allocations: 0 / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01105, allocations: 4 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.01153, allocations: 314.1 kB / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01153, allocations: 0 / 0.6233 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.01159, allocations: 11.92 kB / 0.6233 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.0116, allocations: 4 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.0116, allocations: 0 / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.01161, allocations: 0 / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01161, allocations: 0 / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.01194, allocations: 207.4 kB / 0.6235 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.01195, allocations: 15.83 kB / 0.6235 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.01197, allocations: 8 kB / 0.6235 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.01206, allocations: 7.984 kB / 0.6235 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.0121, allocations: 0 / 0.6235 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.01212, allocations: 4 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.01218, allocations: 93.34 kB / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01218, allocations: 0 / 0.6236 GB, free: 15.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002796/0.01246, allocations: 20 kB / 0.6237 GB, free: 15.05 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.0001896/0.01265, allocations: 107.2 kB / 0.6238 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.01294, allocations: 79.86 kB / 0.6238 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01295, allocations: 0 / 0.6238 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01307, allocations: 31.98 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.01335, allocations: 12.36 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.0003921/0.01374, allocations: 169.4 kB / 0.624 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.193e-05/0.01381, allocations: 75.08 kB / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.13e-05/0.01384, allocations: 8 kB / 0.6241 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.01388, allocations: 12.5 kB / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.01388, allocations: 0 / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of Templates: time 0.004038/0.01791, allocations: 1.014 MB / 0.6251 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.832014556974173] Failed to read output from testmodel.py, exit status != 0: 0.028624005615711212 0.042289239 0.032861887 Calling exit ...