Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.001362/0.001362, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00139/0.00139, allocations: 219 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 207.7 MB / 233.9 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04986/0.04986, allocations: 9.154 MB / 295.3 MB, free: 12.52 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.02 kB / 411.9 MB, free: 46.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0733/0.07533, allocations: 50.76 MB / 462.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01508/0.09041, allocations: 11.75 MB / 474.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009378/0.09979, allocations: 7.506 MB / 481.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.09985, allocations: 0 / 481.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1, allocations: 39.73 kB / 481.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004565/0.1046, allocations: 1.868 MB / 483.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005558/0.1102, allocations: 2.255 MB / 486 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1103, allocations: 127.2 kB / 486.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.1104, allocations: 8 kB / 486.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.1104, allocations: 39.86 kB / 486.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1106, allocations: 51.72 kB / 486.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1106, allocations: 4 kB / 486.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.1226, allocations: 6.907 MB / 493.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.1227, allocations: 11.88 kB / 493.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.396e-05/0.1228, allocations: 39.8 kB / 493.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008092/0.1308, allocations: 3.773 MB / 497 MB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1308, allocations: 0 / 497 MB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1308, allocations: 4 kB / 497 MB, free: 10.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1309, allocations: 0 / 497 MB, free: 10.04 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002625/0.1335, allocations: 0.8225 MB / 497.8 MB, free: 9.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1335, allocations: 15.98 kB / 497.8 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.113e-05/0.1335, allocations: 4.375 kB / 497.8 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.1336, allocations: 38.73 kB / 497.9 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.1339, allocations: 52.75 kB / 497.9 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.1342, allocations: 146.3 kB / 498.1 MB, free: 8.898 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1342, allocations: 11.94 kB / 498.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.1342, allocations: 19.94 kB / 498.1 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009282/0.1351, allocations: 255.2 kB / 498.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1352, allocations: 0 / 498.3 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.1352, allocations: 4 kB / 498.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1352, allocations: 4 kB / 498.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.136, allocations: 219.7 kB / 498.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006719/0.1367, allocations: 439.8 kB / 499 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008984/0.1376, allocations: 229 kB / 499.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.1376, allocations: 49.97 kB / 499.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1116/0.2492, allocations: 33.63 MB / 0.5204 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.2493, allocations: 42.44 kB / 0.5205 GB, free: 5.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.445e-06/0.2493, allocations: 0 / 0.5205 GB, free: 5.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001835/0.2511, allocations: 369.2 kB / 0.5208 GB, free: 5.527 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.2512, allocations: 81.11 kB / 0.5209 GB, free: 5.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2513, allocations: 137.9 kB / 0.521 GB, free: 5.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.2513, allocations: 25.7 kB / 0.521 GB, free: 5.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.2514, allocations: 96.08 kB / 0.5211 GB, free: 5.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.062e-05/0.2515, allocations: 59.52 kB / 0.5212 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.2516, allocations: 61.62 kB / 0.5212 GB, free: 5.035 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2517, allocations: 318.8 kB / 0.5215 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.2519, allocations: 59.95 kB / 0.5216 GB, free: 4.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001709/0.252, allocations: 91.3 kB / 0.5217 GB, free: 4.555 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.2524, allocations: 143.3 kB / 0.5218 GB, free: 4.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2524, allocations: 4 kB / 0.5218 GB, free: 4.398 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005194/0.2529, allocations: 218.1 kB / 0.522 GB, free: 4.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2529, allocations: 7.938 kB / 0.522 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.2529, allocations: 4 kB / 0.5221 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2529, allocations: 0 / 0.5221 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.2531, allocations: 60.02 kB / 0.5221 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2532, allocations: 0 / 0.5221 GB, free: 4.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2533, allocations: 11.95 kB / 0.5221 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.2533, allocations: 19.98 kB / 0.5221 GB, free: 4.078 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.000131/0.2535, allocations: 121.7 kB / 0.5223 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.2536, allocations: 15.88 kB / 0.5223 GB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/0.2558, allocations: 2.245 MB / 0.5245 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.2558, allocations: 7.922 kB / 0.5245 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.2558, allocations: 4 kB / 0.5245 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2558, allocations: 0 / 0.5245 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.2568, allocations: 1.063 MB / 0.5255 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.2568, allocations: 0 / 0.5255 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.2571, allocations: 43.83 kB / 0.5256 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2571, allocations: 0 / 0.5256 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2571, allocations: 4 kB / 0.5256 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2571, allocations: 0 / 0.5256 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2571, allocations: 0 / 0.5256 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1911/0.4482, allocations: 0.656 MB / 0.5262 GB, free: 72.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.4483, allocations: 25.48 kB / 0.5262 GB, free: 72.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4483, allocations: 6.125 kB / 0.5262 GB, free: 72.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.4485, allocations: 1.875 kB / 0.5262 GB, free: 72.22 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/0.4486, allocations: 13.42 kB / 0.5262 GB, free: 72.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.4486, allocations: 4.281 kB / 0.5262 GB, free: 72.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.122e-05/0.4486, allocations: 101.3 kB / 0.5263 GB, free: 72.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4486, allocations: 4.469 kB / 0.5263 GB, free: 72.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002494/0.4511, allocations: 0.9165 MB / 0.5272 GB, free: 72.14 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.004382/0.4555, allocations: 2.192 MB / 0.5294 GB, free: 71.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004079/0.4559, allocations: 214.2 kB / 0.5296 GB, free: 71.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4559, allocations: 0 / 0.5296 GB, free: 71.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.4561, allocations: 127.1 kB / 0.5297 GB, free: 71.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.4567, allocations: 68.23 kB / 0.5298 GB, free: 71.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.46, allocations: 2.614 MB / 0.5323 GB, free: 69.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.4601, allocations: 125.1 kB / 0.5324 GB, free: 69.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000487/0.4605, allocations: 375.8 kB / 0.5328 GB, free: 69.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.4607, allocations: 70.77 kB / 0.5329 GB, free: 69.65 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4607, allocations: 0 / 0.5329 GB, free: 69.65 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06821/0.5289, allocations: 36.98 MB / 0.569 GB, free: 40.22 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.25, allocations: 4.062 kB / 0.569 GB, free: 40.22 MB / 398.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.952463521971367] Failed to read output from testmodel.py, exit status != 0: 13.432552425074391 13.442220463 13.309178065 Calling exit ...