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.001235/0.001235, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001346/0.001346, allocations: 217.2 kB / 23.04 MB, free: 5.074 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.31/1.31, allocations: 207.6 MB / 233.8 MB, free: 9.973 MB / 190.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.04899/0.04899, allocations: 9.155 MB / 295.2 MB, free: 12.7 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.00199/0.00199, allocations: 67.27 kB / 411.8 MB, free: 46.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.068/0.06999, allocations: 50.75 MB / 462.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02046/0.09045, allocations: 18.02 MB / 480.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03109/0.1215, allocations: 32.29 MB / 0.5009 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.1217, allocations: 0 / 0.5009 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.1229, allocations: 486 kB / 0.5013 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.1233, allocations: 143.1 kB / 0.5015 GB, free: 9.629 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.02455/0.1479, allocations: 10.06 MB / 0.5113 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.1485, allocations: 390.4 kB / 0.5117 GB, free: 15.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.723e-05/0.1486, allocations: 24.52 kB / 0.5117 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004246/0.149, allocations: 171.4 kB / 0.5119 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.1492, allocations: 119.5 kB / 0.512 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.1493, allocations: 12 kB / 0.512 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02373/0.173, allocations: 11.96 MB / 0.5237 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.1731, allocations: 43.83 kB / 0.5237 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.1733, allocations: 107.5 kB / 0.5238 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2053/0.3786, allocations: 4.769 MB / 0.5285 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3786, allocations: 0.6562 kB / 0.5285 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3787, allocations: 0.9688 kB / 0.5285 GB, free: 28.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3787, allocations: 0 / 0.5285 GB, free: 28.57 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.002948/0.3816, allocations: 1.105 MB / 0.5295 GB, free: 27.89 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3816, allocations: 14.88 kB / 0.5296 GB, free: 27.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.926e-05/0.3817, allocations: 3.344 kB / 0.5296 GB, free: 27.89 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/0.3817, allocations: 47.42 kB / 0.5296 GB, free: 27.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.3819, allocations: 34.98 kB / 0.5296 GB, free: 27.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3822, allocations: 166.4 kB / 0.5298 GB, free: 27.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.3822, allocations: 6.719 kB / 0.5298 GB, free: 27.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3822, allocations: 11.98 kB / 0.5298 GB, free: 27.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.3828, allocations: 260.9 kB / 0.5301 GB, free: 27.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3828, allocations: 0 / 0.5301 GB, free: 27.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.3829, allocations: 7.938 kB / 0.5301 GB, free: 27.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.3829, allocations: 7.938 kB / 0.5301 GB, free: 27.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006413/0.3835, allocations: 231.9 kB / 0.5303 GB, free: 27.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008339/0.3844, allocations: 1.052 MB / 0.5313 GB, free: 26.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.3848, allocations: 230.2 kB / 0.5315 GB, free: 26.67 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.3851, allocations: 144.5 kB / 0.5317 GB, free: 26.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06281/0.4479, allocations: 14.56 MB / 0.5459 GB, free: 26.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.4479, allocations: 35.88 kB / 0.5459 GB, free: 26.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.4479, allocations: 0 / 0.5459 GB, free: 26.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.00133/0.4493, allocations: 480.5 kB / 0.5464 GB, free: 26.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.4493, allocations: 135.2 kB / 0.5465 GB, free: 26.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.4494, allocations: 168.8 kB / 0.5467 GB, free: 25.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4494, allocations: 29.8 kB / 0.5467 GB, free: 25.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.912e-05/0.4495, allocations: 126.4 kB / 0.5468 GB, free: 25.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.4495, allocations: 96.86 kB / 0.5469 GB, free: 25.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.4496, allocations: 45.23 kB / 0.547 GB, free: 25.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.4496, allocations: 329.1 kB / 0.5473 GB, free: 25.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.4499, allocations: 108.5 kB / 0.5474 GB, free: 25.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002516/0.4501, allocations: 164.9 kB / 0.5475 GB, free: 25.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.4506, allocations: 302.8 kB / 0.5478 GB, free: 25.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4506, allocations: 6.781 kB / 0.5478 GB, free: 25.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005645/0.4512, allocations: 328.6 kB / 0.5481 GB, free: 25.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4512, allocations: 7.781 kB / 0.5482 GB, free: 25.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4512, allocations: 0 / 0.5482 GB, free: 25.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4512, allocations: 3.531 kB / 0.5482 GB, free: 25.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.4514, allocations: 47.05 kB / 0.5482 GB, free: 25.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4514, allocations: 5.891 kB / 0.5482 GB, free: 25.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.4516, allocations: 31.23 kB / 0.5482 GB, free: 25.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.4516, allocations: 10.67 kB / 0.5483 GB, free: 25.27 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.717e-05/0.4517, allocations: 137.5 kB / 0.5484 GB, free: 25.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.4518, allocations: 22.67 kB / 0.5484 GB, free: 25.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000514/0.4523, allocations: 376.5 kB / 0.5488 GB, free: 25.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.4523, allocations: 7.281 kB / 0.5488 GB, free: 25.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4523, allocations: 4.688 kB / 0.5488 GB, free: 25.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4523, allocations: 3.938 kB / 0.5488 GB, free: 25.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.4527, allocations: 306.5 kB / 0.5491 GB, free: 24.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4527, allocations: 0 / 0.5491 GB, free: 24.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.4529, allocations: 42.98 kB / 0.5491 GB, free: 24.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4529, allocations: 3.766 kB / 0.5491 GB, free: 24.9 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.4529, allocations: 6.969 kB / 0.5491 GB, free: 24.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.4529, allocations: 2.125 kB / 0.5491 GB, free: 24.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4529, allocations: 0 / 0.5491 GB, free: 24.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.4535, allocations: 0.6586 MB / 0.5498 GB, free: 24.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.4535, allocations: 26.02 kB / 0.5498 GB, free: 24.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.4535, allocations: 3.719 kB / 0.5498 GB, free: 24.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.4538, allocations: 22.16 kB / 0.5498 GB, free: 24.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.4539, allocations: 17.86 kB / 0.5498 GB, free: 24.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4539, allocations: 7.578 kB / 0.5498 GB, free: 24.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.759e-05/0.454, allocations: 125.6 kB / 0.55 GB, free: 24.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.454, allocations: 4 kB / 0.55 GB, free: 24.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002464/0.4564, allocations: 0.8083 MB / 0.5508 GB, free: 24.27 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.003646/0.4601, allocations: 2.285 MB / 0.553 GB, free: 23.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.4607, allocations: 269.7 kB / 0.5532 GB, free: 23.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4607, allocations: 0 / 0.5532 GB, free: 23.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002806/0.461, allocations: 145.5 kB / 0.5534 GB, free: 23.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000832/0.4618, allocations: 102.5 kB / 0.5535 GB, free: 23.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.465, allocations: 3.077 MB / 0.5565 GB, free: 21.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.4652, allocations: 0.7422 MB / 0.5572 GB, free: 20.65 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.4653, allocations: 54 kB / 0.5573 GB, free: 20.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.4654, allocations: 70.72 kB / 0.5573 GB, free: 20.63 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4654, allocations: 0 / 0.5573 GB, free: 20.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04732/0.5127, allocations: 27.46 MB / 0.5841 GB, free: 12.74 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.9, allocations: 4.062 kB / 0.5841 GB, free: 12.74 MB / 414.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.412787287030369] Failed to read output from testmodel.py, exit status != 0: 12.07318013603799 12.085796829 11.704117967 Calling exit ...