Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.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.0007574/0.0007574, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007766/0.0007766, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9016/0.9016, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.03303/0.03303, allocations: 7.528 MB / 266.7 MB, free: 6.199 MB / 250.7 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.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.setSat_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 391.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.208e-05, allocations: 6.219 kB / 391.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.setSat_parameter): time 0.01256/0.01258, allocations: 17.18 MB / 408.9 MB, free: 5.133 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004418/0.017, allocations: 6.585 MB / 415.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.01706, allocations: 0 / 415.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.01767, allocations: 398.8 kB / 415.9 MB, free: 14.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.01801, allocations: 270.4 kB / 416.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005742/0.02375, allocations: 4.452 MB / 420.6 MB, free: 9.414 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.02402, allocations: 381.7 kB / 421 MB, free: 9.039 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.02406, allocations: 8.594 kB / 421 MB, free: 9.027 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.02428, allocations: 231.2 kB / 421.2 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.02435, allocations: 67.8 kB / 421.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.02436, allocations: 0 / 421.3 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.02875, allocations: 4.802 MB / 426.1 MB, free: 3.922 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.02877, allocations: 19.86 kB / 426.1 MB, free: 3.902 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.02884, allocations: 63.88 kB / 426.2 MB, free: 3.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002955/0.0318, allocations: 3.059 MB / 429.2 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.0318, allocations: 0 / 429.2 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.0318, allocations: 0 / 429.2 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.0318, allocations: 3.938 kB / 429.2 MB, free: 0.7695 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007975/0.0326, allocations: 0.6819 MB / 429.9 MB, free: 56 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.03264, allocations: 16.56 kB / 429.9 MB, free: 40 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.03269, allocations: 54.61 kB / 430 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.03271, allocations: 19.86 kB / 430 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.811e-05/0.0328, allocations: 129 kB / 430.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.03281, allocations: 0 / 430.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-06/0.03282, allocations: 4 kB / 430.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.03298, allocations: 189.5 kB / 430.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.03298, allocations: 3.938 kB / 430.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.03299, allocations: 0 / 430.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.033, allocations: 19.88 kB / 430.3 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/0.03309, allocations: 144.5 kB / 430.5 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.03328, allocations: 287.2 kB / 430.7 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.03338, allocations: 163.1 kB / 430.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.179e-05/0.03347, allocations: 150.1 kB / 431.1 MB, free: 14.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01968/0.05314, allocations: 9.234 MB / 440.3 MB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.05317, allocations: 30.56 kB / 440.3 MB, free: 5.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=64): time 1.933e-06/0.05317, allocations: 0 / 440.3 MB, free: 5.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=64): time 0.0004898/0.05366, allocations: 0.5757 MB / 440.9 MB, free: 4.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.05369, allocations: 59.34 kB / 440.9 MB, free: 4.867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.818e-05/0.05375, allocations: 97.84 kB / 441 MB, free: 4.762 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.05376, allocations: 33.7 kB / 441.1 MB, free: 4.723 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/0.05378, allocations: 81.45 kB / 441.2 MB, free: 4.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.05387, allocations: 206.1 kB / 441.4 MB, free: 4.438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.05392, allocations: 41.69 kB / 441.4 MB, free: 4.391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.054, allocations: 334.8 kB / 441.7 MB, free: 4.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.05409, allocations: 148.6 kB / 441.9 MB, free: 3.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.853e-05/0.05416, allocations: 147.2 kB / 442 MB, free: 3.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.05437, allocations: 362.2 kB / 442.4 MB, free: 3.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.05437, allocations: 3.938 kB / 442.4 MB, free: 3.406 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004073/0.05478, allocations: 396.2 kB / 442.8 MB, free: 3.012 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.05479, allocations: 8 kB / 442.8 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.0548, allocations: 0 / 442.8 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.05481, allocations: 4 kB / 442.8 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.05481, allocations: 0 / 442.8 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.05482, allocations: 0 / 442.8 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.573e-05/0.05486, allocations: 27.67 kB / 442.8 MB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.05487, allocations: 0 / 442.8 MB, free: 2.973 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (sat_dv.vap.phase,sat_dv.liq.phase,sat_dl.vap.phase,sat_dl.liq.phase,sat_p.vap.phase,sat_p.liq.phase,sat.vap.phase,sat.liq.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 7.763e-05/0.05494, allocations: 129.8 kB / 442.9 MB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.05496, allocations: 16.19 kB / 442.9 MB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004743/0.05543, allocations: 0.7396 MB / 443.7 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.05544, allocations: 16.02 kB / 443.7 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.05545, allocations: 0 / 443.7 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.05545, allocations: 0 / 443.7 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.05562, allocations: 264.8 kB / 444 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.05562, allocations: 3.984 kB / 444 MB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.05562, allocations: 4 kB / 444 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.05562, allocations: 0 / 444 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.05563, allocations: 0 / 444 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.05563, allocations: 0 / 444 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.05563, allocations: 0 / 444 MB, free: 1.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.05585, allocations: 342.8 kB / 444.3 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.05588, allocations: 39.7 kB / 444.3 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.0559, allocations: 7.953 kB / 444.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.909e-05/0.05593, allocations: 0 / 444.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.05594, allocations: 3.938 kB / 444.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.05594, allocations: 0 / 444.3 MB, free: 1.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.056, allocations: 119.2 kB / 444.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.056, allocations: 0 / 444.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001305/0.05731, allocations: 0.6972 MB / 445.2 MB, free: 484 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (sat_p.liq.phase,sat_p.vap.phase,sat_dl.liq.phase,sat_dl.vap.phase,sat_dv.liq.phase,sat_dv.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.1337/0.191, allocations: 1.881 MB / 447 MB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.1913, allocations: 276.6 kB / 447.3 MB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1913, allocations: 3.188 kB / 447.3 MB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.1913, allocations: 115.3 kB / 447.4 MB, free: 92.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.1921, allocations: 228 kB / 447.7 MB, free: 92.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1938, allocations: 2.696 MB / 450.3 MB, free: 90.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.588e-05/0.1938, allocations: 125 kB / 450.5 MB, free: 90.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.845e-05/0.1939, allocations: 14.86 kB / 450.5 MB, free: 90.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.1939, allocations: 53.28 kB / 450.5 MB, free: 90.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.1939, allocations: 3.719 kB / 450.5 MB, free: 90.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04182/0.2358, allocations: 29.92 MB / 480.5 MB, free: 84.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.111/7.347, allocations: 4.172 kB / 480.5 MB, free: 84.08 MB / 410.7 MB " [Timeout remaining time 653] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter_fmu --startTime=0 --stopTime=2 --stepSize=1 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_setSat_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.setSat_parameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.042219194583595] Failed to read output from testmodel.py, exit status != 0: 7.439327847212553 7.446207379 7.413043502 Calling exit ...