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.001264/0.001264, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001387/0.001387, allocations: 212 kB / 20.13 MB, free: 2.949 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.356/1.356, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 179] 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.04838/0.04838, allocations: 9.141 MB / 291.5 MB, free: 7.176 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.002067/0.002067, allocations: 71.91 kB / 406.5 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2452, allocations: 50.72 MB / 457.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01926/0.2644, allocations: 17.96 MB / 475.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03473/0.2991, allocations: 32.28 MB / 0.4956 GB, free: 5.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.2994, allocations: 4 kB / 0.4956 GB, free: 5.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.3006, allocations: 478 kB / 0.4961 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005291/0.3012, allocations: 147.1 kB / 0.4962 GB, free: 4.902 MB / 366.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.02562/0.3268, allocations: 9.992 MB / 0.506 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006197/0.3274, allocations: 390.4 kB / 0.5063 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.3275, allocations: 12.39 kB / 0.5063 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/0.3279, allocations: 171.3 kB / 0.5065 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.3281, allocations: 119.5 kB / 0.5066 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.3281, allocations: 19.94 kB / 0.5066 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/0.3483, allocations: 11.63 MB / 0.518 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.695e-05/0.3484, allocations: 43.83 kB / 0.518 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3486, allocations: 107.5 kB / 0.5181 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01167/0.3602, allocations: 4.758 MB / 0.5228 GB, free: 9.602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3602, allocations: 0 / 0.5228 GB, free: 9.602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3602, allocations: 3.938 kB / 0.5228 GB, free: 9.598 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3602, allocations: 0 / 0.5228 GB, free: 9.598 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.002459/0.3627, allocations: 1.176 MB / 0.5239 GB, free: 8.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3627, allocations: 8.031 kB / 0.5239 GB, free: 8.359 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/0.3628, allocations: 4 kB / 0.524 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.3628, allocations: 50.55 kB / 0.524 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.363, allocations: 35.84 kB / 0.524 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.3634, allocations: 230.6 kB / 0.5243 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3634, allocations: 8 kB / 0.5243 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.3634, allocations: 12 kB / 0.5243 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.364, allocations: 267.4 kB / 0.5245 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.364, allocations: 0 / 0.5245 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.3641, allocations: 4 kB / 0.5245 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3641, allocations: 11.98 kB / 0.5245 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006538/0.3647, allocations: 220 kB / 0.5248 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.3658, allocations: 1.083 MB / 0.5258 GB, free: 6.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.3663, allocations: 214.3 kB / 0.526 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.3667, allocations: 143.3 kB / 0.5262 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08269/0.4493, allocations: 46.24 MB / 0.5713 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.4494, allocations: 38.5 kB / 0.5713 GB, free: 15.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/0.4494, allocations: 0 / 0.5713 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001565/0.451, allocations: 472.7 kB / 0.5718 GB, free: 15.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/0.451, allocations: 136.5 kB / 0.5719 GB, free: 15.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.4512, allocations: 179.8 kB / 0.5721 GB, free: 14.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.4513, allocations: 33.64 kB / 0.5721 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.4514, allocations: 124.5 kB / 0.5723 GB, free: 14.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.4514, allocations: 95.2 kB / 0.5723 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.4515, allocations: 33.7 kB / 0.5724 GB, free: 14.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4517, allocations: 330.8 kB / 0.5727 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/0.4519, allocations: 119.9 kB / 0.5728 GB, free: 14.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.4523, allocations: 161.9 kB / 0.573 GB, free: 13.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006005/0.4529, allocations: 279.3 kB / 0.5732 GB, free: 13.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4529, allocations: 4 kB / 0.5732 GB, free: 13.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007209/0.4536, allocations: 329.9 kB / 0.5735 GB, free: 13.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4536, allocations: 5.406 kB / 0.5735 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4536, allocations: 7.984 kB / 0.5736 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4536, allocations: 0 / 0.5736 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.4539, allocations: 43.95 kB / 0.5736 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.4539, allocations: 8.125 kB / 0.5736 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.4541, allocations: 43.8 kB / 0.5736 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.4541, allocations: 4 kB / 0.5737 GB, free: 13.24 MB / 462.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.0001343/0.4542, allocations: 133.8 kB / 0.5738 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.4543, allocations: 19.86 kB / 0.5738 GB, free: 13.08 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006597/0.455, allocations: 368.9 kB / 0.5741 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.455, allocations: 4 kB / 0.5742 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.455, allocations: 0 / 0.5742 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.455, allocations: 3.938 kB / 0.5742 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.4555, allocations: 325.7 kB / 0.5745 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4555, allocations: 0 / 0.5745 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.4557, allocations: 35.97 kB / 0.5745 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4557, allocations: 4 kB / 0.5745 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.4557, allocations: 11.98 kB / 0.5745 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4557, allocations: 4 kB / 0.5745 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4557, allocations: 3.938 kB / 0.5745 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.4566, allocations: 0.6353 MB / 0.5751 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.4566, allocations: 104.9 kB / 0.5752 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.4567, allocations: 0 / 0.5752 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.457, allocations: 19.98 kB / 0.5753 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.457, allocations: 27.91 kB / 0.5753 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.457, allocations: 11.98 kB / 0.5753 GB, free: 11.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.544e-05/0.4571, allocations: 120.1 kB / 0.5754 GB, free: 11.33 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4571, allocations: 3.938 kB / 0.5754 GB, free: 11.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002175/0.4593, allocations: 0.8139 MB / 0.5762 GB, free: 10.51 MB / 462.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.003833/0.4632, allocations: 2.28 MB / 0.5784 GB, free: 8.199 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006961/0.4638, allocations: 271.6 kB / 0.5787 GB, free: 7.934 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4639, allocations: 0 / 0.5787 GB, free: 7.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.4642, allocations: 144.2 kB / 0.5788 GB, free: 7.793 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.465, allocations: 104.4 kB / 0.5789 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.4692, allocations: 3.039 MB / 0.5819 GB, free: 4.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.4696, allocations: 0.744 MB / 0.5826 GB, free: 3.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001519/0.4697, allocations: 48.48 kB / 0.5827 GB, free: 3.703 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.4698, allocations: 71.34 kB / 0.5827 GB, free: 3.633 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4698, allocations: 0 / 0.5827 GB, free: 3.633 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2298/0.6996, allocations: 27.12 MB / 0.6092 GB, free: 138.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.81/9.509, allocations: 8.25 kB / 0.6092 GB, free: 138.3 MB / 478.1 MB " [Timeout remaining time 650] (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: 11.784396442992147] Failed to read output from testmodel.py, exit status != 0: 9.651600065000821 9.669592847 9.305955103 Calling exit ...