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.001583/0.001583, 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.001828/0.001828, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.781 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.04935/0.04935, allocations: 9.136 MB / 321.6 MB, free: 10.3 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.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 63.89 kB / 446.5 MB, free: 0.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1028, allocations: 54.94 MB / 0.4897 GB, free: 9.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01975/0.1225, allocations: 16.28 MB / 0.5056 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2307/0.3532, allocations: 28.57 MB / 0.5335 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.3533, allocations: 2.188 kB / 0.5335 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009519/0.3543, allocations: 366.8 kB / 0.5338 GB, free: 3.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.3547, allocations: 152.2 kB / 0.534 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02214/0.3768, allocations: 10.01 MB / 0.5438 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004811/0.3773, allocations: 391.1 kB / 0.5441 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.839e-05/0.3773, allocations: 11.09 kB / 0.5441 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.3777, allocations: 185.6 kB / 0.5443 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.3778, allocations: 112.5 kB / 0.5444 GB, free: 496 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3779, allocations: 12.78 kB / 0.5444 GB, free: 496 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/0.3934, allocations: 8.144 MB / 0.5524 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.3935, allocations: 50.83 kB / 0.5524 GB, free: 12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.3937, allocations: 91.34 kB / 0.5525 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.4049, allocations: 4.157 MB / 0.5566 GB, free: 9.484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4049, allocations: 0 / 0.5566 GB, free: 9.484 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4049, allocations: 4 kB / 0.5566 GB, free: 9.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.4049, allocations: 1.469 kB / 0.5566 GB, free: 9.48 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.002686/0.4076, allocations: 1.102 MB / 0.5577 GB, free: 8.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4077, allocations: 9.625 kB / 0.5577 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.548e-05/0.4077, allocations: 48.05 kB / 0.5577 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007135/0.4084, allocations: 98.67 kB / 0.5578 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.4088, allocations: 182.3 kB / 0.558 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.4088, allocations: 8.219 kB / 0.558 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.4088, allocations: 6.969 kB / 0.558 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00064/0.4095, allocations: 314.1 kB / 0.5583 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4095, allocations: 4.703 kB / 0.5583 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.4095, allocations: 14.16 kB / 0.5583 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.4095, allocations: 4.5 kB / 0.5583 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006335/0.4102, allocations: 224.9 kB / 0.5585 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4112, allocations: 0.8752 MB / 0.5594 GB, free: 7.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/0.4117, allocations: 222.9 kB / 0.5596 GB, free: 7.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.412, allocations: 145 kB / 0.5597 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06832/0.4803, allocations: 14.6 MB / 0.574 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.4804, allocations: 46.58 kB / 0.574 GB, free: 9.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.244e-06/0.4804, allocations: 0 / 0.574 GB, free: 9.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.00153/0.4819, allocations: 479 kB / 0.5745 GB, free: 9.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.482, allocations: 132.5 kB / 0.5746 GB, free: 9.156 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4822, allocations: 188.8 kB / 0.5748 GB, free: 8.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.4822, allocations: 25.7 kB / 0.5748 GB, free: 8.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.4823, allocations: 128.6 kB / 0.575 GB, free: 8.801 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.4824, allocations: 87.2 kB / 0.575 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.552e-05/0.4824, allocations: 53.73 kB / 0.5751 GB, free: 8.656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4826, allocations: 330.8 kB / 0.5754 GB, free: 8.324 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.4828, allocations: 103.9 kB / 0.5755 GB, free: 8.223 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.4832, allocations: 169.9 kB / 0.5757 GB, free: 8.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.4838, allocations: 295.2 kB / 0.5759 GB, free: 7.727 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4838, allocations: 7.938 kB / 0.576 GB, free: 7.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007041/0.4845, allocations: 322 kB / 0.5763 GB, free: 7.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4845, allocations: 10.53 kB / 0.5763 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4845, allocations: 4 kB / 0.5763 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4845, allocations: 4 kB / 0.5763 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.4848, allocations: 43.95 kB / 0.5763 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.4848, allocations: 0 / 0.5763 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.485, allocations: 35.86 kB / 0.5764 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.485, allocations: 8 kB / 0.5764 GB, free: 7.297 MB / 414.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 0.0001287/0.4851, allocations: 139.9 kB / 0.5765 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4852, allocations: 27.8 kB / 0.5765 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.4859, allocations: 377.5 kB / 0.5769 GB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4859, allocations: 11.98 kB / 0.5769 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4859, allocations: 0.5625 kB / 0.5769 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4859, allocations: 4 kB / 0.5769 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004813/0.4864, allocations: 280.8 kB / 0.5772 GB, free: 6.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4864, allocations: 7.625 kB / 0.5772 GB, free: 6.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.4866, allocations: 35.97 kB / 0.5772 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4866, allocations: 0 / 0.5772 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4866, allocations: 7.984 kB / 0.5772 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.4866, allocations: 0 / 0.5772 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4866, allocations: 0 / 0.5772 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008292/0.4875, allocations: 0.6596 MB / 0.5779 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.4875, allocations: 31.78 kB / 0.5779 GB, free: 5.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.4875, allocations: 4.188 kB / 0.5779 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.4878, allocations: 15.98 kB / 0.5779 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.134e-05/0.4879, allocations: 27.89 kB / 0.5779 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.4879, allocations: 8 kB / 0.5779 GB, free: 5.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.488, allocations: 128.4 kB / 0.5781 GB, free: 5.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.488, allocations: 4 kB / 0.5781 GB, free: 5.473 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002355/0.4904, allocations: 0.81 MB / 0.5789 GB, free: 4.66 MB / 414.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.004232/0.4946, allocations: 2.293 MB / 0.5811 GB, free: 2.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.4953, allocations: 267.8 kB / 0.5814 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4953, allocations: 3.938 kB / 0.5814 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.4957, allocations: 156.1 kB / 0.5815 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000865/0.4966, allocations: 98.97 kB / 0.5816 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.501, allocations: 3.092 MB / 0.5846 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.5012, allocations: 133.7 kB / 0.5848 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.5014, allocations: 56.31 kB / 0.5848 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.5015, allocations: 67.41 kB / 0.5849 GB, free: 14.36 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5015, allocations: 0 / 0.5849 GB, free: 14.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06366/0.5652, allocations: 28.03 MB / 0.6122 GB, free: 2.504 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.09, allocations: 3.125 kB / 0.6122 GB, free: 2.504 MB / 446.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 sys.exit(0), Time elapsed: 16.42705286713317] Failed to read output from testmodel.py, exit status != 0: 12.214133641682565 12.236623104 11.827784734 Calling exit ...