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.001363/0.001363, allocations: 84.98 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.001464/0.001464, allocations: 173.2 kB / 22.46 MB, free: 4.992 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.156 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.213/1.213, allocations: 154.7 MB / 413.9 MB, free: 5.145 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 1.854e-06/1.854e-06, allocations: 0 / 0.6187 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.754e-05, allocations: 5.672 kB / 0.6187 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001815/0.001843, allocations: 0.7234 MB / 0.6194 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.003541, allocations: 1.194 MB / 0.6206 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.003598, allocations: 4 kB / 0.6206 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.003631, allocations: 7.875 kB / 0.6206 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.003702, allocations: 11.92 kB / 0.6206 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.004196, allocations: 139.2 kB / 0.6207 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.004396, allocations: 127.8 kB / 0.6209 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.00449, allocations: 20.17 kB / 0.6209 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.004632, allocations: 71.88 kB / 0.621 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.004726, allocations: 39.86 kB / 0.621 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.004755, allocations: 12 kB / 0.621 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.839e-05/0.004824, allocations: 27.98 kB / 0.621 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.417e-05/0.004848, allocations: 8 kB / 0.621 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.004914, allocations: 43.89 kB / 0.6211 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.005141, allocations: 147.5 kB / 0.6212 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005144, allocations: 0 / 0.6212 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.51e-07/0.005145, allocations: 0 / 0.6212 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.00515, allocations: 8 kB / 0.6212 GB, free: 1.996 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.0005878/0.005738, allocations: 339.7 kB / 0.6216 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.005779, allocations: 12.03 kB / 0.6216 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.005885, allocations: 20.88 kB / 0.6216 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.005993, allocations: 109.7 kB / 0.6217 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.006012, allocations: 4.375 kB / 0.6217 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.006035, allocations: 8.375 kB / 0.6217 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.006253, allocations: 78.09 kB / 0.6218 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.006262, allocations: 192 / 0.6218 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006272, allocations: 4.375 kB / 0.6218 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.00628, allocations: 8.125 kB / 0.6218 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.006473, allocations: 43.95 kB / 0.6218 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.007007, allocations: 264.4 kB / 0.6221 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.007193, allocations: 58.55 kB / 0.6221 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.007307, allocations: 40.88 kB / 0.6222 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.007327, allocations: 7.938 kB / 0.6222 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.007571, allocations: 91.3 kB / 0.6223 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.007573, allocations: 96 / 0.6223 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004818/0.008055, allocations: 145.6 kB / 0.6224 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.008127, allocations: 63.39 kB / 0.6225 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.00823, allocations: 121 kB / 0.6226 GB, free: 472 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.008266, allocations: 33.7 kB / 0.6226 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.008335, allocations: 96.06 kB / 0.6227 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.008362, allocations: 23.84 kB / 0.6227 GB, free: 308 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.008439, allocations: 37.7 kB / 0.6228 GB, free: 264 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.008612, allocations: 318.8 kB / 0.6231 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.008801, allocations: 85.66 kB / 0.6232 GB, free: 15.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.009025, allocations: 118.8 kB / 0.6233 GB, free: 15.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.009321, allocations: 150.8 kB / 0.6234 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.009325, allocations: 4 kB / 0.6234 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005158/0.009841, allocations: 244.8 kB / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.009882, allocations: 41.86 kB / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.009887, allocations: 0 / 0.6237 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.009902, allocations: 4 kB / 0.6237 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01001, allocations: 11.98 kB / 0.6237 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.01002, allocations: 7.938 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.01023, allocations: 31.95 kB / 0.6237 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.01025, allocations: 12 kB / 0.6238 GB, free: 15.16 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.0001216/0.01038, allocations: 130.8 kB / 0.6239 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.01039, allocations: 7.891 kB / 0.6239 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.01071, allocations: 118.1 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.01071, allocations: 4 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01072, allocations: 0 / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01072, allocations: 7.922 kB / 0.624 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.01117, allocations: 326 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01117, allocations: 4 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.01123, allocations: 7.984 kB / 0.6243 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.01124, allocations: 4 kB / 0.6243 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.01125, allocations: 8 kB / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01125, allocations: 0 / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01126, allocations: 0 / 0.6243 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.01159, allocations: 219.4 kB / 0.6246 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.0116, allocations: 7.953 kB / 0.6246 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.01162, allocations: 0 / 0.6246 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.01171, allocations: 11.98 kB / 0.6246 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.01175, allocations: 4 kB / 0.6246 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.01176, allocations: 7.984 kB / 0.6246 GB, free: 14.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.01183, allocations: 87.28 kB / 0.6247 GB, free: 14.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.01183, allocations: 4 kB / 0.6247 GB, free: 14.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002753/0.01211, allocations: 23.98 kB / 0.6247 GB, free: 14.12 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.0001532/0.01226, allocations: 107.2 kB / 0.6248 GB, free: 14.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004305/0.01269, allocations: 193 kB / 0.625 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01269, allocations: 0 / 0.625 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.01282, allocations: 40.45 kB / 0.625 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.01311, allocations: 19.92 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.01351, allocations: 168.6 kB / 0.6252 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.158e-05/0.01359, allocations: 83.39 kB / 0.6253 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.01363, allocations: 7.984 kB / 0.6253 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.01366, allocations: 12.5 kB / 0.6253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.01366, allocations: 0 / 0.6253 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Templates: time 0.0048/0.01846, allocations: 1.557 MB / 0.6268 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.906694741919637] Failed to read output from testmodel.py, exit status != 0: 0.027598395943641663 0.042873856 0.034592554000000005 Calling exit ...