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.001478/0.001478, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001476/0.001476, allocations: 219.4 kB / 22.26 MB, free: 5.125 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.413/1.413, allocations: 207.6 MB / 233 MB, free: 9.984 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.05193/0.05193, allocations: 9.159 MB / 294.4 MB, free: 12.69 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="me",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.00222/0.00222, allocations: 79.25 kB / 411.1 MB, free: 46.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07608/0.0783, allocations: 50.75 MB / 461.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.0173/0.0956, allocations: 12.95 MB / 474.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.1069, allocations: 8.619 MB / 483.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/0.107, allocations: 4 kB / 483.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.1072, allocations: 39.72 kB / 483.5 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004758/0.112, allocations: 1.888 MB / 485.3 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006079/0.1181, allocations: 2.281 MB / 487.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.1183, allocations: 131.1 kB / 487.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.97e-05/0.1183, allocations: 4 kB / 487.8 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.19e-05/0.1184, allocations: 43.86 kB / 487.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1185, allocations: 51.72 kB / 487.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.1185, allocations: 4 kB / 487.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.1319, allocations: 6.942 MB / 494.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.217e-05/0.1319, allocations: 15.92 kB / 494.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.132, allocations: 43.75 kB / 494.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007493/0.1395, allocations: 3.777 MB / 498.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1395, allocations: 0 / 498.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1395, allocations: 0 / 498.6 MB, free: 7.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.1395, allocations: 4 kB / 498.6 MB, free: 7.797 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.002221/0.1417, allocations: 0.8263 MB / 499.5 MB, free: 6.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1418, allocations: 15.98 kB / 499.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.1418, allocations: 42.75 kB / 499.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.1422, allocations: 52.73 kB / 499.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.1424, allocations: 138.4 kB / 499.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.1424, allocations: 12.31 kB / 499.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.1425, allocations: 15.95 kB / 499.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009081/0.1434, allocations: 263.1 kB / 500 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.1434, allocations: 0 / 500 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1434, allocations: 0 / 500 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1434, allocations: 8 kB / 0.4883 GB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.1442, allocations: 207.8 kB / 0.4885 GB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.1451, allocations: 0.6419 MB / 0.4891 GB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/0.146, allocations: 233 kB / 0.4893 GB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.1461, allocations: 53.69 kB / 0.4894 GB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.122/0.2681, allocations: 33.5 MB / 0.5221 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.2682, allocations: 42.55 kB / 0.5221 GB, free: 3.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.2682, allocations: 4 kB / 0.5221 GB, free: 3.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001824/0.27, allocations: 365.2 kB / 0.5225 GB, free: 3.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.2701, allocations: 77.11 kB / 0.5226 GB, free: 3.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.2702, allocations: 134.1 kB / 0.5227 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.2702, allocations: 33.64 kB / 0.5227 GB, free: 2.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.2703, allocations: 100.1 kB / 0.5228 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.2704, allocations: 51.53 kB / 0.5229 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2705, allocations: 61.62 kB / 0.5229 GB, free: 2.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2706, allocations: 326.8 kB / 0.5232 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2708, allocations: 59.97 kB / 0.5233 GB, free: 2.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.2709, allocations: 88.7 kB / 0.5234 GB, free: 2.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.2713, allocations: 144 kB / 0.5235 GB, free: 2.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2713, allocations: 4 kB / 0.5235 GB, free: 2.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005287/0.2718, allocations: 217.5 kB / 0.5237 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.2718, allocations: 7.938 kB / 0.5237 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.2719, allocations: 4 kB / 0.5237 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2719, allocations: 0 / 0.5237 GB, free: 1.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.2721, allocations: 63.89 kB / 0.5238 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2721, allocations: 0 / 0.5238 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.2723, allocations: 11.89 kB / 0.5238 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.2723, allocations: 15.98 kB / 0.5238 GB, free: 1.703 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.0001368/0.2724, allocations: 129.8 kB / 0.5239 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.2725, allocations: 15.89 kB / 0.524 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1777/0.4502, allocations: 2.237 MB / 0.5261 GB, free: 71.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.4502, allocations: 6.328 kB / 0.5262 GB, free: 71.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4502, allocations: 1.5 kB / 0.5262 GB, free: 71.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.4502, allocations: 1.219 kB / 0.5262 GB, free: 71.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/0.4512, allocations: 1.073 MB / 0.5272 GB, free: 71.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4512, allocations: 0 / 0.5272 GB, free: 71.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.4515, allocations: 33.88 kB / 0.5272 GB, free: 71.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.4515, allocations: 6.719 kB / 0.5272 GB, free: 71.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.4515, allocations: 5.719 kB / 0.5272 GB, free: 71.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.4515, allocations: 4.281 kB / 0.5273 GB, free: 71.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4515, allocations: 0.9062 kB / 0.5273 GB, free: 71.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.4523, allocations: 0.65 MB / 0.5279 GB, free: 70.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.4523, allocations: 29.59 kB / 0.5279 GB, free: 70.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.4523, allocations: 2.938 kB / 0.5279 GB, free: 70.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.4525, allocations: 6.031 kB / 0.5279 GB, free: 70.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.4525, allocations: 8.578 kB / 0.5279 GB, free: 70.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.4525, allocations: 13.36 kB / 0.5279 GB, free: 70.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.193e-05/0.4526, allocations: 100.2 kB / 0.528 GB, free: 70.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4526, allocations: 0.9688 kB / 0.528 GB, free: 70.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00275/0.4554, allocations: 0.9198 MB / 0.5289 GB, free: 70.73 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.004015/0.4594, allocations: 2.189 MB / 0.5311 GB, free: 69.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.4598, allocations: 207.9 kB / 0.5313 GB, free: 69.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4598, allocations: 0.875 kB / 0.5313 GB, free: 69.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.4599, allocations: 125.6 kB / 0.5314 GB, free: 69.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.4606, allocations: 73.92 kB / 0.5315 GB, free: 69.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.4637, allocations: 2.614 MB / 0.534 GB, free: 67.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.4639, allocations: 0.7346 MB / 0.5347 GB, free: 67.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000536/0.4644, allocations: 384.8 kB / 0.5351 GB, free: 67.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.4646, allocations: 69.83 kB / 0.5352 GB, free: 67.02 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4646, allocations: 0 / 0.5352 GB, free: 67.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07232/0.5369, allocations: 36.74 MB / 0.571 GB, free: 37.79 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.62, allocations: 3.859 kB / 0.5711 GB, free: 37.79 MB / 398.1 MB " [Timeout remaining time 646] (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: 16.245226978091523] Failed to read output from testmodel.py, exit status != 0: 13.758734152885154 13.778323124 13.635060304 Calling exit ...