Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.0009274/0.0009274, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009483/0.0009483, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 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 0.933/0.933, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.02968/0.02968, allocations: 7.511 MB / 267.8 MB, free: 6.07 MB / 250.7 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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 338.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.757e-05, allocations: 4.422 kB / 338.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02437/0.02439, allocations: 17.55 MB / 356.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.0363, allocations: 17.07 MB / 373.3 MB, free: 9.594 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.792e-05/0.03634, allocations: 0 / 373.3 MB, free: 9.594 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.03679, allocations: 247.2 kB / 373.5 MB, free: 9.352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009435/0.04622, allocations: 6.672 MB / 380.2 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/0.04703, allocations: 0.6297 MB / 380.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.04719, allocations: 210.9 kB / 381.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.04722, allocations: 5.312 kB / 381.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.04734, allocations: 131.6 kB / 381.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.52e-05/0.04741, allocations: 51.78 kB / 381.2 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.04742, allocations: 4 kB / 381.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007354/0.05477, allocations: 7.495 MB / 388.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.05479, allocations: 27.84 kB / 388.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.05483, allocations: 35.94 kB / 388.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004068/0.0589, allocations: 4.126 MB / 392.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.0589, allocations: 0 / 392.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.0589, allocations: 0 / 392.9 MB, free: 5.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.05891, allocations: 3.984 kB / 392.9 MB, free: 5.906 MB / 362.7 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.0009532/0.05986, allocations: 0.9404 MB / 393.9 MB, free: 4.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.05989, allocations: 8.625 kB / 393.9 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.06004, allocations: 47.75 kB / 393.9 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.06017, allocations: 143.9 kB / 394.1 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.06018, allocations: 4 kB / 394.1 MB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.0602, allocations: 11.95 kB / 394.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.06032, allocations: 111 kB / 394.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.06032, allocations: 0 / 394.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.06033, allocations: 3.984 kB / 394.2 MB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.06034, allocations: 4 kB / 394.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.0604, allocations: 51.91 kB / 394.2 MB, free: 4.508 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.06078, allocations: 498.4 kB / 394.7 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.06093, allocations: 114.1 kB / 394.8 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.06098, allocations: 59.64 kB / 394.9 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02291/0.08389, allocations: 10.45 MB / 405.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.08392, allocations: 41.39 kB / 405.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.924e-06/0.08392, allocations: 0 / 405.4 MB, free: 9.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006151/0.08453, allocations: 198 kB / 405.6 MB, free: 9.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.08457, allocations: 77.11 kB / 405.7 MB, free: 8.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.08465, allocations: 177.9 kB / 405.8 MB, free: 8.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.08466, allocations: 29.7 kB / 405.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.0847, allocations: 139.4 kB / 406 MB, free: 8.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.08475, allocations: 87.22 kB / 406.1 MB, free: 8.512 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.08479, allocations: 47.36 kB / 406.1 MB, free: 8.457 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.08488, allocations: 0.4923 MB / 406.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.913e-05/0.08492, allocations: 27.98 kB / 406.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.08498, allocations: 52.02 kB / 406.7 MB, free: 7.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.08508, allocations: 118.8 kB / 406.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.08508, allocations: 0 / 406.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001428/0.08523, allocations: 145.5 kB / 407 MB, free: 7.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.08524, allocations: 6.344 kB / 407 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.08524, allocations: 0 / 407 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.08526, allocations: 8 kB / 407 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.08531, allocations: 23.98 kB / 407 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.08531, allocations: 0 / 407 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.08535, allocations: 11.89 kB / 407 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.08536, allocations: 4 kB / 407 MB, free: 7.547 MB / 378.7 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 6.491e-05/0.08542, allocations: 160.5 kB / 407.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.08545, allocations: 19.89 kB / 407.2 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.08571, allocations: 245.7 kB / 407.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001513/0.08586, allocations: 192.2 kB / 407.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.08586, allocations: 4 kB / 407.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.08587, allocations: 0 / 407.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.08642, allocations: 0.7252 MB / 408.3 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.08642, allocations: 4 kB / 408.4 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-05/0.08651, allocations: 35.92 kB / 408.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.08651, allocations: 4 kB / 408.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.08652, allocations: 7.938 kB / 408.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.08652, allocations: 4.125 kB / 408.4 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.08653, allocations: 11.94 kB / 408.4 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.08685, allocations: 0.5228 MB / 408.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.08687, allocations: 19.83 kB / 409 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.08689, allocations: 11.94 kB / 409 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.08696, allocations: 4 kB / 409 MB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.08698, allocations: 19.91 kB / 409 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.08699, allocations: 8 kB / 409 MB, free: 5.488 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4e-05/0.08703, allocations: 139.2 kB / 409.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08703, allocations: 0 / 409.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001271/0.0883, allocations: 0.9385 MB / 410.1 MB, free: 4.41 MB / 378.7 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.002263/0.09057, allocations: 1.602 MB / 411.7 MB, free: 2.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.09079, allocations: 211.3 kB / 411.9 MB, free: 2.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.09079, allocations: 3.938 kB / 411.9 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.742e-05/0.09088, allocations: 96.22 kB / 412 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.09139, allocations: 149.4 kB / 412.1 MB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007953/0.09218, allocations: 434.2 kB / 412.5 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.09223, allocations: 84.83 kB / 412.6 MB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.468e-05/0.09232, allocations: 53.53 kB / 412.7 MB, free: 1.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/0.09258, allocations: 24.5 kB / 412.7 MB, free: 1.691 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.09259, allocations: 0 / 412.7 MB, free: 1.691 MB / 378.7 MB Notification: Performance of Templates: time 0.02449/0.1171, allocations: 28.58 MB / 441.3 MB, free: 5.242 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.622571664862335]