Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.001266/0.001266, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001492/0.001492, allocations: 217.5 kB / 23.03 MB, free: 4.918 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.347/1.347, 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.04935/0.04935, allocations: 9.146 MB / 295.3 MB, free: 12.51 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.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",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.002118/0.002118, allocations: 67.12 kB / 411.8 MB, free: 46.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07818/0.0803, allocations: 50.76 MB / 462.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01946/0.09976, allocations: 16.22 MB / 478.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02918/0.1289, allocations: 28.5 MB / 0.4954 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.1291, allocations: 7.938 kB / 0.4954 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009916/0.1301, allocations: 370.3 kB / 0.4958 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.1305, allocations: 147.1 kB / 0.4959 GB, free: 15.15 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.02224/0.1527, allocations: 10.02 MB / 0.5057 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005357/0.1533, allocations: 390.4 kB / 0.5061 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.281e-05/0.1533, allocations: 12.59 kB / 0.5061 GB, free: 4.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.1537, allocations: 179.3 kB / 0.5062 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.1539, allocations: 123.5 kB / 0.5064 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.1539, allocations: 12 kB / 0.5064 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01557/0.1695, allocations: 8.448 MB / 0.5146 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1696, allocations: 47.77 kB / 0.5147 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1698, allocations: 87.59 kB / 0.5148 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.1808, allocations: 4.154 MB / 0.5188 GB, free: 7.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1808, allocations: 0 / 0.5188 GB, free: 7.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1808, allocations: 0 / 0.5188 GB, free: 7.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1808, allocations: 0 / 0.5188 GB, free: 7.648 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002433/0.1832, allocations: 1.097 MB / 0.5199 GB, free: 6.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1833, allocations: 15.98 kB / 0.5199 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.421e-05/0.1833, allocations: 3.938 kB / 0.5199 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.1834, allocations: 50.55 kB / 0.5199 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.1836, allocations: 31.84 kB / 0.52 GB, free: 6.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1839, allocations: 176.8 kB / 0.5201 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.1839, allocations: 8 kB / 0.5202 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1839, allocations: 8 kB / 0.5202 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.1845, allocations: 318.8 kB / 0.5205 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1845, allocations: 4 kB / 0.5205 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1846, allocations: 4 kB / 0.5205 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1846, allocations: 4 kB / 0.5205 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.1852, allocations: 232 kB / 0.5207 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009509/0.1862, allocations: 0.8688 MB / 0.5215 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005325/0.1867, allocations: 230.3 kB / 0.5218 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.187, allocations: 135.4 kB / 0.5219 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.24/0.427, allocations: 14.6 MB / 0.5362 GB, free: 70.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.4271, allocations: 40.19 kB / 0.5362 GB, free: 70.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.4271, allocations: 1.281 kB / 0.5362 GB, free: 70.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001356/0.4284, allocations: 471.9 kB / 0.5366 GB, free: 70.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.4284, allocations: 139.3 kB / 0.5368 GB, free: 70.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4286, allocations: 177.5 kB / 0.5369 GB, free: 70.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.4286, allocations: 25.7 kB / 0.537 GB, free: 70.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.4286, allocations: 124.8 kB / 0.5371 GB, free: 70.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.701e-05/0.4287, allocations: 92.97 kB / 0.5372 GB, free: 70.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.4288, allocations: 44.56 kB / 0.5372 GB, free: 70.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.65e-05/0.4288, allocations: 328.4 kB / 0.5375 GB, free: 69.76 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.429, allocations: 114.3 kB / 0.5376 GB, free: 69.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4293, allocations: 169.5 kB / 0.5378 GB, free: 69.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.4298, allocations: 288.8 kB / 0.5381 GB, free: 69.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4298, allocations: 1.219 kB / 0.5381 GB, free: 69.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005853/0.4304, allocations: 332.8 kB / 0.5384 GB, free: 69.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4304, allocations: 5.562 kB / 0.5384 GB, free: 69.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4304, allocations: 5.469 kB / 0.5384 GB, free: 69.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4304, allocations: 2.25 kB / 0.5384 GB, free: 69.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.4306, allocations: 47.98 kB / 0.5385 GB, free: 69.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4306, allocations: 10.75 kB / 0.5385 GB, free: 69.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.4308, allocations: 35.25 kB / 0.5385 GB, free: 69.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.4308, allocations: 10.41 kB / 0.5385 GB, free: 69.2 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.933e-05/0.4309, allocations: 131.2 kB / 0.5386 GB, free: 69.08 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.133e-05/0.431, allocations: 21.27 kB / 0.5387 GB, free: 69.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005515/0.4316, allocations: 394.3 kB / 0.539 GB, free: 68.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.4316, allocations: 6.312 kB / 0.539 GB, free: 68.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4316, allocations: 5.406 kB / 0.539 GB, free: 68.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4316, allocations: 5.266 kB / 0.539 GB, free: 68.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.432, allocations: 273.5 kB / 0.5393 GB, free: 68.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.432, allocations: 2.953 kB / 0.5393 GB, free: 68.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.4322, allocations: 43.08 kB / 0.5394 GB, free: 68.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4322, allocations: 2.219 kB / 0.5394 GB, free: 68.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.4322, allocations: 10.27 kB / 0.5394 GB, free: 68.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4322, allocations: 1 kB / 0.5394 GB, free: 68.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4322, allocations: 8.844 kB / 0.5394 GB, free: 68.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.4328, allocations: 0.6384 MB / 0.54 GB, free: 68.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.4329, allocations: 28.2 kB / 0.54 GB, free: 68.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.4329, allocations: 7.906 kB / 0.54 GB, free: 68.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.4332, allocations: 19.88 kB / 0.5401 GB, free: 68.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.4332, allocations: 27.77 kB / 0.5401 GB, free: 68.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.4332, allocations: 5 kB / 0.5401 GB, free: 68.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.4333, allocations: 129.3 kB / 0.5402 GB, free: 67.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4333, allocations: 3.938 kB / 0.5402 GB, free: 67.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001851/0.4352, allocations: 0.8123 MB / 0.541 GB, free: 67.87 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003214/0.4384, allocations: 2.281 MB / 0.5432 GB, free: 66.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005888/0.439, allocations: 275 kB / 0.5435 GB, free: 66.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.439, allocations: 0 / 0.5435 GB, free: 66.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.4392, allocations: 147 kB / 0.5436 GB, free: 66.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.44, allocations: 105.3 kB / 0.5437 GB, free: 66.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.443, allocations: 3.055 MB / 0.5467 GB, free: 63.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.312e-05/0.443, allocations: 133.5 kB / 0.5468 GB, free: 62.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.4432, allocations: 53.16 kB / 0.5469 GB, free: 62.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4433, allocations: 75.41 kB / 0.547 GB, free: 62.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4433, allocations: 0 / 0.547 GB, free: 62.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04441/0.4877, allocations: 27.72 MB / 0.574 GB, free: 35.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.08, allocations: 11.94 kB / 0.574 GB, free: 35.16 MB / 398.1 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.679776959004812] Failed to read output from testmodel.py, exit status != 0: 12.251833157031797 12.268104683 12.08394633 Calling exit ...