Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001476/0.001476, allocations: 79.67 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.001548/0.001548, allocations: 162.8 kB / 22.46 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.554/1.554, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.234/1.234, allocations: 154.6 MB / 413.8 MB, free: 5.23 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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.156e-05, allocations: 4.359 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001872/0.001903, allocations: 0.7182 MB / 0.6193 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.00376, allocations: 1.197 MB / 0.6204 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.003817, allocations: 3.938 kB / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.003842, allocations: 3.938 kB / 0.6204 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.777e-05/0.0039, allocations: 7.875 kB / 0.6204 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.004356, allocations: 143.3 kB / 0.6206 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.004535, allocations: 139.7 kB / 0.6207 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.004614, allocations: 12.17 kB / 0.6207 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.004734, allocations: 67.88 kB / 0.6208 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.731e-05/0.004822, allocations: 43.88 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.00485, allocations: 8 kB / 0.6208 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.758e-05/0.004918, allocations: 27.98 kB / 0.6209 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.004943, allocations: 15.97 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.154e-05/0.005004, allocations: 35.91 kB / 0.6209 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.005225, allocations: 155.5 kB / 0.6211 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005227, allocations: 0 / 0.6211 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.32e-07/0.005228, allocations: 0 / 0.6211 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.026e-06/0.005231, allocations: 7.938 kB / 0.6211 GB, free: 1.98 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005399/0.005771, allocations: 343.7 kB / 0.6214 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.005802, allocations: 8.031 kB / 0.6214 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.182e-05/0.005893, allocations: 12.89 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.005999, allocations: 123.9 kB / 0.6215 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.006014, allocations: 4.375 kB / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.006035, allocations: 8.375 kB / 0.6216 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.006246, allocations: 70.22 kB / 0.6216 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.006253, allocations: 4.125 kB / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.006264, allocations: 8.375 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.006271, allocations: 8.125 kB / 0.6216 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.006459, allocations: 43.95 kB / 0.6217 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.006894, allocations: 264.5 kB / 0.6219 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.007063, allocations: 58.48 kB / 0.622 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.007177, allocations: 36.91 kB / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.007194, allocations: 3.984 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.007441, allocations: 87.31 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.007443, allocations: 0 / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004525/0.007895, allocations: 149.5 kB / 0.6223 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.007938, allocations: 55.41 kB / 0.6223 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.008034, allocations: 125.7 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.008066, allocations: 37.7 kB / 0.6225 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.569e-05/0.008132, allocations: 92.08 kB / 0.6225 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.008156, allocations: 23.84 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.657e-05/0.008233, allocations: 37.7 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.008404, allocations: 318.8 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.008589, allocations: 81.67 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.008799, allocations: 114.8 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.0091, allocations: 158.7 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.009102, allocations: 0 / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005062/0.009608, allocations: 244.8 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.00965, allocations: 41.84 kB / 0.6235 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.009656, allocations: 3.984 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.00967, allocations: 4 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.009768, allocations: 19.98 kB / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-06/0.009772, allocations: 0 / 0.6236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.009982, allocations: 31.95 kB / 0.6236 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.01, allocations: 8 kB / 0.6236 GB, free: 15.15 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001195/0.01012, allocations: 137.2 kB / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.732e-05/0.01014, allocations: 11.89 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.01045, allocations: 122 kB / 0.6238 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.01046, allocations: 7.938 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01046, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.01046, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.01092, allocations: 326 kB / 0.6242 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01092, allocations: 8 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.01098, allocations: 11.98 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01099, allocations: 0 / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.01099, allocations: 0 / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.011, allocations: 0 / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.011, allocations: 0 / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.01133, allocations: 215.4 kB / 0.6244 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.01135, allocations: 7.953 kB / 0.6244 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.01136, allocations: 4 kB / 0.6244 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.01145, allocations: 11.98 kB / 0.6244 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.01148, allocations: 7.984 kB / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.01149, allocations: 0 / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.01155, allocations: 98.66 kB / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01155, allocations: 0 / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002594/0.01181, allocations: 24 kB / 0.6245 GB, free: 14.11 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001447/0.01195, allocations: 107.1 kB / 0.6246 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004079/0.01236, allocations: 197 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01236, allocations: 0 / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.01249, allocations: 39.91 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.01275, allocations: 19.28 kB / 0.6249 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.01312, allocations: 176.6 kB / 0.6251 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.176e-05/0.01319, allocations: 79.39 kB / 0.6251 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.01322, allocations: 4 kB / 0.6251 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.078e-05/0.01325, allocations: 16.5 kB / 0.6251 GB, free: 13.42 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.01325, allocations: 0 / 0.6251 GB, free: 13.42 MB / 0.545 GB Notification: Performance of Templates: time 0.004415/0.01766, allocations: 1.537 MB / 0.6266 GB, free: 11.93 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.834365077316761] Failed to read output from testmodel.py, exit status != 0: 0.026656106114387512 0.040841604000000004 0.032604785000000004 Calling exit ...