Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.001411/0.001411, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001615/0.001615, allocations: 211.1 kB / 22.24 MB, free: 5.262 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05191/0.05191, allocations: 9.139 MB / 321.6 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 447 MB, free: 84 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1117, allocations: 54.95 MB / 0.4902 GB, free: 9.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.02196/0.1336, allocations: 15.84 MB / 0.5057 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2669/0.4005, allocations: 14.97 MB / 0.5203 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.4007, allocations: 3.938 kB / 0.5203 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007652/0.4014, allocations: 233.5 kB / 0.5205 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01621/0.4176, allocations: 6.409 MB / 0.5268 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001862/0.4195, allocations: 0.6142 MB / 0.5274 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.4198, allocations: 200.9 kB / 0.5276 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.678e-05/0.4198, allocations: 6.453 kB / 0.5276 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.42, allocations: 95 kB / 0.5277 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.4201, allocations: 61.47 kB / 0.5277 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.4201, allocations: 3.75 kB / 0.5277 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01767/0.4378, allocations: 6.95 MB / 0.5345 GB, free: 6.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.131e-05/0.4378, allocations: 19.06 kB / 0.5345 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.4379, allocations: 49.53 kB / 0.5346 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.4492, allocations: 3.432 MB / 0.5379 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4492, allocations: 1.375 kB / 0.5379 GB, free: 5.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4492, allocations: 0 / 0.5379 GB, free: 5.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.096e-06/0.4492, allocations: 3.938 kB / 0.5379 GB, free: 5.473 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.002358/0.4516, allocations: 0.8394 MB / 0.5388 GB, free: 4.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4516, allocations: 9.688 kB / 0.5388 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.4518, allocations: 23.97 kB / 0.5388 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.452, allocations: 147.4 kB / 0.5389 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4521, allocations: 2.312 kB / 0.5389 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.4521, allocations: 9.281 kB / 0.5389 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.4523, allocations: 141.5 kB / 0.5391 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4523, allocations: 0.5156 kB / 0.5391 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4523, allocations: 1.031 kB / 0.5391 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4523, allocations: 6.109 kB / 0.5391 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.4524, allocations: 99.95 kB / 0.5392 GB, free: 4.609 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005627/0.453, allocations: 430.2 kB / 0.5396 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.4532, allocations: 106.1 kB / 0.5397 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.439e-05/0.4533, allocations: 75.55 kB / 0.5398 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04913/0.5025, allocations: 10.9 MB / 0.5504 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5025, allocations: 40.66 kB / 0.5504 GB, free: 136 kB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.475e-06/0.5025, allocations: 0 / 0.5504 GB, free: 136 kB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007124/0.5032, allocations: 236.4 kB / 0.5507 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.5033, allocations: 79.98 kB / 0.5508 GB, free: 15.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5034, allocations: 118.2 kB / 0.5509 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.5034, allocations: 29.7 kB / 0.5509 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.5035, allocations: 87.41 kB / 0.551 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.5036, allocations: 82.03 kB / 0.5511 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.898e-05/0.5037, allocations: 36.2 kB / 0.5511 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.5039, allocations: 325.3 kB / 0.5514 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.504, allocations: 47.89 kB / 0.5514 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.5041, allocations: 70.44 kB / 0.5515 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.5043, allocations: 124.1 kB / 0.5516 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5043, allocations: 0.6875 kB / 0.5516 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003416/0.5046, allocations: 170.4 kB / 0.5518 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5046, allocations: 9.688 kB / 0.5518 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5046, allocations: 0 / 0.5518 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5047, allocations: 0 / 0.5518 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.378e-05/0.5048, allocations: 23.77 kB / 0.5518 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5048, allocations: 4.531 kB / 0.5518 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.6e-05/0.5049, allocations: 11.64 kB / 0.5518 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.5049, allocations: 3.719 kB / 0.5518 GB, free: 14.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (state_p.phase,state_h.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001173/0.505, allocations: 128.4 kB / 0.552 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.5051, allocations: 14.72 kB / 0.552 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.5056, allocations: 317.4 kB / 0.5523 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003502/0.5059, allocations: 245.4 kB / 0.5525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.5059, allocations: 0.9375 kB / 0.5525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.5059, allocations: 3.984 kB / 0.5525 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.507, allocations: 0.6735 MB / 0.5532 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5071, allocations: 4 kB / 0.5532 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.5072, allocations: 39.92 kB / 0.5532 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.5072, allocations: 11.92 kB / 0.5532 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.5073, allocations: 7.938 kB / 0.5532 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5073, allocations: 4 kB / 0.5532 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5073, allocations: 0 / 0.5532 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007216/0.508, allocations: 0.5344 MB / 0.5538 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.508, allocations: 15.84 kB / 0.5538 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.5081, allocations: 11.94 kB / 0.5538 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.5082, allocations: 0 / 0.5538 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.5083, allocations: 25.81 kB / 0.5538 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.5083, allocations: 4 kB / 0.5538 GB, free: 12.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.627e-05/0.5083, allocations: 103.6 kB / 0.5539 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5083, allocations: 0 / 0.5539 GB, free: 12.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003403/0.5117, allocations: 0.9385 MB / 0.5548 GB, free: 11.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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.005834/0.5176, allocations: 1.442 MB / 0.5562 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.5181, allocations: 235.9 kB / 0.5565 GB, free: 10.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5181, allocations: 4 kB / 0.5565 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.5183, allocations: 110.5 kB / 0.5566 GB, free: 10.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5194, allocations: 151 kB / 0.5567 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.5204, allocations: 492.2 kB / 0.5572 GB, free: 9.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.5206, allocations: 125 kB / 0.5573 GB, free: 9.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.5208, allocations: 48.31 kB / 0.5574 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.5208, allocations: 27.44 kB / 0.5574 GB, free: 9.406 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5208, allocations: 0 / 0.5574 GB, free: 9.406 MB / 398.1 MB Notification: Performance of Templates: time 0.05256/0.5734, allocations: 28.5 MB / 0.5852 GB, free: 13.06 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.044066093862057] Failed to read output from testmodel.py, exit status != 0: 0.5818125642836094 0.598715096 0.145958466 Calling exit ...