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.00131/0.00131, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001417/0.001417, allocations: 216 kB / 22.25 MB, free: 4.855 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.992 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.04902/0.04902, allocations: 9.131 MB / 321.6 MB, free: 10.25 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: "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesCarbondioxide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesCarbondioxide",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 446.5 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09964, allocations: 54.94 MB / 0.4897 GB, free: 9.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01986/0.1195, allocations: 15.86 MB / 0.5052 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2145/0.334, allocations: 14.97 MB / 0.5198 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.522e-05/0.3341, allocations: 2.688 kB / 0.5198 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006522/0.3348, allocations: 236.3 kB / 0.5201 GB, free: 7.055 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.3502, allocations: 6.606 MB / 0.5265 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3518, allocations: 0.611 MB / 0.5271 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.3521, allocations: 200.8 kB / 0.5273 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.3521, allocations: 6.734 kB / 0.5273 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.3523, allocations: 100.3 kB / 0.5274 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.3524, allocations: 50.42 kB / 0.5274 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.3524, allocations: 3.438 kB / 0.5274 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01439/0.3668, allocations: 7.462 MB / 0.5347 GB, free: 5.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.3668, allocations: 19.86 kB / 0.5348 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.3669, allocations: 52.8 kB / 0.5348 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008361/0.3752, allocations: 3.505 MB / 0.5382 GB, free: 4.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3752, allocations: 4 kB / 0.5382 GB, free: 4.855 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3752, allocations: 0 / 0.5382 GB, free: 4.855 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.3752, allocations: 0.9688 kB / 0.5382 GB, free: 4.855 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.002241/0.3775, allocations: 0.8426 MB / 0.5391 GB, free: 4.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3775, allocations: 9.125 kB / 0.5391 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.3776, allocations: 37.38 kB / 0.5391 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.3778, allocations: 24.44 kB / 0.5391 GB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.3779, allocations: 152.1 kB / 0.5393 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3779, allocations: 3.312 kB / 0.5393 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.378, allocations: 7.906 kB / 0.5393 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.3781, allocations: 129.1 kB / 0.5394 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3782, allocations: 0.6094 kB / 0.5394 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.3782, allocations: 8.547 kB / 0.5394 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3782, allocations: 2.156 kB / 0.5394 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3783, allocations: 109.9 kB / 0.5395 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005294/0.3788, allocations: 446.8 kB / 0.5399 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3791, allocations: 111 kB / 0.5401 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.3791, allocations: 71.8 kB / 0.5401 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04577/0.4249, allocations: 10.91 MB / 0.5508 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.425, allocations: 33.56 kB / 0.5508 GB, free: 15.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.216e-06/0.425, allocations: 4 kB / 0.5508 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000677/0.4256, allocations: 236.7 kB / 0.551 GB, free: 15.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.4257, allocations: 85.05 kB / 0.5511 GB, free: 15.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.4258, allocations: 116.5 kB / 0.5512 GB, free: 15.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4259, allocations: 25.7 kB / 0.5513 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.12e-05/0.4259, allocations: 88.58 kB / 0.5513 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.058e-05/0.426, allocations: 87.2 kB / 0.5514 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.361e-05/0.4261, allocations: 37.7 kB / 0.5515 GB, free: 14.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4262, allocations: 318.8 kB / 0.5518 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.4263, allocations: 51.92 kB / 0.5518 GB, free: 14.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/0.4264, allocations: 61.69 kB / 0.5519 GB, free: 14.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4266, allocations: 133 kB / 0.552 GB, free: 14.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4266, allocations: 0 / 0.552 GB, free: 14.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000286/0.4269, allocations: 169.8 kB / 0.5522 GB, free: 14.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4269, allocations: 4 kB / 0.5522 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4269, allocations: 0 / 0.5522 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.4269, allocations: 4.797 kB / 0.5522 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.427, allocations: 19.94 kB / 0.5522 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.427, allocations: 0 / 0.5522 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.4271, allocations: 20.5 kB / 0.5522 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.4272, allocations: 4 kB / 0.5522 GB, free: 14.11 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.0001046/0.4273, allocations: 117.8 kB / 0.5523 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.4273, allocations: 15.84 kB / 0.5523 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005482/0.4279, allocations: 318.3 kB / 0.5526 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003635/0.4282, allocations: 251.5 kB / 0.5529 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4282, allocations: 1.469 kB / 0.5529 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4283, allocations: 3.984 kB / 0.5529 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4293, allocations: 0.7173 MB / 0.5536 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.4293, allocations: 3.938 kB / 0.5536 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.4295, allocations: 40.92 kB / 0.5536 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4295, allocations: 0 / 0.5536 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.4295, allocations: 11.98 kB / 0.5536 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4295, allocations: 0 / 0.5536 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/0.4295, allocations: 4 kB / 0.5536 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.4301, allocations: 0.5305 MB / 0.5542 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.4302, allocations: 23.81 kB / 0.5542 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.4302, allocations: 4 kB / 0.5542 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.4303, allocations: 11.48 kB / 0.5542 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.4303, allocations: 16.03 kB / 0.5542 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4304, allocations: 8 kB / 0.5542 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.124e-05/0.4304, allocations: 95.27 kB / 0.5543 GB, free: 11.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4304, allocations: 0 / 0.5543 GB, free: 11.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003094/0.4335, allocations: 0.9424 MB / 0.5552 GB, free: 10.95 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.006648/0.4402, allocations: 2.476 MB / 0.5577 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004308/0.4406, allocations: 233.6 kB / 0.5579 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4406, allocations: 0 / 0.5579 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.4408, allocations: 99.91 kB / 0.558 GB, free: 8.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009779/0.4417, allocations: 156.7 kB / 0.5581 GB, free: 8.113 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.4461, allocations: 2.448 MB / 0.5605 GB, free: 5.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.4462, allocations: 125 kB / 0.5606 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.4464, allocations: 44.2 kB / 0.5607 GB, free: 5.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.4465, allocations: 67.36 kB / 0.5607 GB, free: 5.34 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4465, allocations: 0 / 0.5607 GB, free: 5.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07204/0.5185, allocations: 31.81 MB / 0.5918 GB, free: 5.816 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.51, allocations: 0 / 0.5918 GB, free: 5.816 MB / 430.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesCarbondioxide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesCarbondioxide.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.120206460822374] Failed to read output from testmodel.py, exit status != 0: 12.633703011088073 12.650131201 12.271903774 Calling exit ...