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.001227/0.001227, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001472/0.001472, allocations: 204.8 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.789 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.05541/0.05541, allocations: 9.135 MB / 321.6 MB, free: 10.32 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.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 0.002251/0.002251, allocations: 71.88 kB / 447 MB, free: 152 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.111, allocations: 54.94 MB / 0.4902 GB, free: 9.109 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02302/0.1341, allocations: 15.85 MB / 0.5057 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2434/0.3775, allocations: 14.97 MB / 0.5203 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3776, allocations: 0.75 kB / 0.5203 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007534/0.3783, allocations: 242.3 kB / 0.5205 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01771/0.396, allocations: 6.605 MB / 0.527 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.3986, allocations: 0.6062 MB / 0.5276 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.3989, allocations: 201.2 kB / 0.5278 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.399, allocations: 12.91 kB / 0.5278 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.3993, allocations: 95.41 kB / 0.5279 GB, free: 6.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3994, allocations: 61.7 kB / 0.5279 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3995, allocations: 3.188 kB / 0.5279 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01917/0.4186, allocations: 7.455 MB / 0.5352 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.4187, allocations: 16.98 kB / 0.5352 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.4188, allocations: 48.52 kB / 0.5353 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.4321, allocations: 3.508 MB / 0.5387 GB, free: 5.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4321, allocations: 0 / 0.5387 GB, free: 5.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4321, allocations: 3.188 kB / 0.5387 GB, free: 5.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.4322, allocations: 0 / 0.5387 GB, free: 5.164 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.002983/0.4351, allocations: 0.843 MB / 0.5395 GB, free: 4.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.4352, allocations: 8.656 kB / 0.5395 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.4354, allocations: 24.97 kB / 0.5396 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.4356, allocations: 148 kB / 0.5397 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.4356, allocations: 2.344 kB / 0.5397 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.4357, allocations: 12.81 kB / 0.5397 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.4359, allocations: 129.2 kB / 0.5398 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4359, allocations: 0 / 0.5398 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4359, allocations: 3.844 kB / 0.5398 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.4359, allocations: 7.141 kB / 0.5399 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.4361, allocations: 108.4 kB / 0.54 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005764/0.4367, allocations: 416.9 kB / 0.5404 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.4369, allocations: 116.2 kB / 0.5405 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.437, allocations: 64.78 kB / 0.5405 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05085/0.4878, allocations: 10.92 MB / 0.5512 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/0.4879, allocations: 34.5 kB / 0.5512 GB, free: 15.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 2.535e-06/0.4879, allocations: 0 / 0.5512 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007909/0.4887, allocations: 239.4 kB / 0.5514 GB, free: 15.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.4888, allocations: 77.11 kB / 0.5515 GB, free: 15.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.489, allocations: 124.1 kB / 0.5516 GB, free: 15.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.4891, allocations: 25.7 kB / 0.5517 GB, free: 15.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.185e-05/0.4891, allocations: 92.56 kB / 0.5518 GB, free: 15.13 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.374e-05/0.4892, allocations: 79.19 kB / 0.5518 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.4893, allocations: 37.7 kB / 0.5519 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4895, allocations: 322.8 kB / 0.5522 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.4896, allocations: 55.92 kB / 0.5522 GB, free: 14.63 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4897, allocations: 61.69 kB / 0.5523 GB, free: 14.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.4899, allocations: 127.8 kB / 0.5524 GB, free: 14.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4899, allocations: 0 / 0.5524 GB, free: 14.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003828/0.4903, allocations: 168.5 kB / 0.5526 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4903, allocations: 7.938 kB / 0.5526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4903, allocations: 0 / 0.5526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/0.4903, allocations: 4 kB / 0.5526 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.4904, allocations: 23.92 kB / 0.5526 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4905, allocations: 0 / 0.5526 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.4906, allocations: 19.89 kB / 0.5526 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.4906, allocations: 4 kB / 0.5526 GB, free: 14.21 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.0002295/0.4909, allocations: 114.6 kB / 0.5527 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.4909, allocations: 15.84 kB / 0.5527 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005744/0.4915, allocations: 322.3 kB / 0.5531 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003424/0.4918, allocations: 241.4 kB / 0.5533 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4919, allocations: 0 / 0.5533 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4919, allocations: 3.984 kB / 0.5533 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.493, allocations: 0.6786 MB / 0.554 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.493, allocations: 11.61 kB / 0.554 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.4932, allocations: 35.98 kB / 0.554 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.4932, allocations: 4 kB / 0.554 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.4932, allocations: 0 / 0.554 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.4932, allocations: 7.938 kB / 0.554 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4933, allocations: 0 / 0.554 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.4941, allocations: 0.5373 MB / 0.5545 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.4941, allocations: 19.78 kB / 0.5546 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.4942, allocations: 12.77 kB / 0.5546 GB, free: 12.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.4943, allocations: 7.938 kB / 0.5546 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.4944, allocations: 15.97 kB / 0.5546 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4944, allocations: 8 kB / 0.5546 GB, free: 12.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.4945, allocations: 91.27 kB / 0.5547 GB, free: 12.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4945, allocations: 4 kB / 0.5547 GB, free: 12.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005303/0.4998, allocations: 0.9424 MB / 0.5556 GB, free: 11.1 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.00842/0.5082, allocations: 1.491 MB / 0.5571 GB, free: 9.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006023/0.5088, allocations: 243.9 kB / 0.5573 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5088, allocations: 0 / 0.5573 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.509, allocations: 107.8 kB / 0.5574 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.5102, allocations: 148.4 kB / 0.5575 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.5112, allocations: 0.4926 MB / 0.558 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5114, allocations: 121 kB / 0.5581 GB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.5116, allocations: 46 kB / 0.5582 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.5117, allocations: 23.44 kB / 0.5582 GB, free: 8.547 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5117, allocations: 0 / 0.5582 GB, free: 8.547 MB / 398.1 MB Notification: Performance of Templates: time 0.05306/0.5647, allocations: 28.56 MB / 0.5861 GB, free: 12.17 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.016246562823653] Failed to read output from testmodel.py, exit status != 0: 0.5735257398337126 0.592044204 0.15621837999999993 Calling exit ...