Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001048/0.001048, 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.001087/0.001087, 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.8604/0.8604, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001368/0.001368, allocations: 233.3 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6528/0.6528, allocations: 138.4 MB / 454.3 MB, free: 30.02 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.172e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001771/0.001792, allocations: 1.441 MB / 0.6477 GB, free: 452 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.002134, allocations: 211.5 kB / 0.6479 GB, free: 240 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.002165, allocations: 0 / 0.6479 GB, free: 240 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.455e-05/0.002189, allocations: 3.938 kB / 0.6479 GB, free: 236 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.701e-05/0.002226, allocations: 3.938 kB / 0.6479 GB, free: 232 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.002424, allocations: 39.77 kB / 0.6479 GB, free: 192 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.002481, allocations: 15.94 kB / 0.6479 GB, free: 176 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.002564, allocations: 11.98 kB / 0.648 GB, free: 164 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.002609, allocations: 11.98 kB / 0.648 GB, free: 152 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/0.00264, allocations: 11.92 kB / 0.648 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.002652, allocations: 0 / 0.648 GB, free: 140 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.019e-05/0.002722, allocations: 27.98 kB / 0.648 GB, free: 112 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.002735, allocations: 7.984 kB / 0.648 GB, free: 104 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.002751, allocations: 4 kB / 0.648 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.002852, allocations: 51.81 kB / 0.6481 GB, free: 48 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002854, allocations: 4 kB / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002855, allocations: 0 / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.976e-06/0.002858, allocations: 0 / 0.6481 GB, free: 44 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.2249/0.2278, allocations: 257.8 kB / 0.6483 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2278, allocations: 12.38 kB / 0.6483 GB, free: 57.14 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.414e-05/0.2279, allocations: 32.72 kB / 0.6484 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.228, allocations: 7.906 kB / 0.6484 GB, free: 57.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.221e-05/0.2281, allocations: 111.2 kB / 0.6485 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2281, allocations: 1.5 kB / 0.6485 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.2281, allocations: 2.719 kB / 0.6485 GB, free: 56.98 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.2282, allocations: 53.75 kB / 0.6485 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2282, allocations: 0.8438 kB / 0.6485 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2282, allocations: 1.75 kB / 0.6485 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2282, allocations: 7.359 kB / 0.6485 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.299e-05/0.2283, allocations: 31.08 kB / 0.6486 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.2286, allocations: 216.2 kB / 0.6488 GB, free: 56.72 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.15e-05/0.2287, allocations: 35.22 kB / 0.6488 GB, free: 56.7 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.2287, allocations: 22.89 kB / 0.6488 GB, free: 56.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.2288, allocations: 3.406 kB / 0.6488 GB, free: 56.69 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2288, allocations: 37.98 kB / 0.6489 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.2288, allocations: 0.75 kB / 0.6489 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002515/0.229, allocations: 87.5 kB / 0.6489 GB, free: 56.61 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.2291, allocations: 53.89 kB / 0.649 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.2291, allocations: 99.94 kB / 0.6491 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-06/0.2291, allocations: 28.55 kB / 0.6491 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.417e-05/0.2291, allocations: 86.44 kB / 0.6492 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.2292, allocations: 6.906 kB / 0.6492 GB, free: 56.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.2292, allocations: 14.84 kB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.423e-05/0.2292, allocations: 315.5 kB / 0.6495 GB, free: 56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.2293, allocations: 16.8 kB / 0.6495 GB, free: 56 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.2293, allocations: 17.52 kB / 0.6496 GB, free: 56 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.56e-05/0.2294, allocations: 42.22 kB / 0.6496 GB, free: 56 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2294, allocations: 1.5 kB / 0.6496 GB, free: 56 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001078/0.2295, allocations: 68.69 kB / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2295, allocations: 6.75 kB / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2295, allocations: 0 / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2295, allocations: 2.906 kB / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.2296, allocations: 11.95 kB / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2296, allocations: 0.875 kB / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.2296, allocations: 8 kB / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.2296, allocations: 1.922 kB / 0.6497 GB, free: 55.96 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 3.405e-05/0.2297, allocations: 113 kB / 0.6498 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.2297, allocations: 8.078 kB / 0.6498 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.2298, allocations: 76.09 kB / 0.6499 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2298, allocations: 3.344 kB / 0.6499 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.2298, allocations: 1.516 kB / 0.6499 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2298, allocations: 1.203 kB / 0.6499 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.331e-05/0.2299, allocations: 127.1 kB / 0.65 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2299, allocations: 0 / 0.65 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.23, allocations: 14.28 kB / 0.65 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.23, allocations: 7 kB / 0.65 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.23, allocations: 2.359 kB / 0.65 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.23, allocations: 0 / 0.65 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.23, allocations: 0.7812 kB / 0.65 GB, free: 55.65 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.2301, allocations: 169.3 kB / 0.6502 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.2301, allocations: 10.58 kB / 0.6502 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.2301, allocations: 1.688 kB / 0.6502 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.2302, allocations: 11.89 kB / 0.6502 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.2302, allocations: 2.875 kB / 0.6502 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.2302, allocations: 1.625 kB / 0.6502 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.959e-05/0.2302, allocations: 82.55 kB / 0.6503 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2302, allocations: 0 / 0.6503 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001451/0.2304, allocations: 4.875 kB / 0.6503 GB, free: 55.44 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002741/0.2306, allocations: 0.7044 MB / 0.651 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.2308, allocations: 35.48 kB / 0.651 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2308, allocations: 1.969 kB / 0.651 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.2308, allocations: 24.69 kB / 0.6511 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.2311, allocations: 5.25 kB / 0.6511 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.2314, allocations: 143.8 kB / 0.6512 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.592e-05/0.2314, allocations: 62.38 kB / 0.6513 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.2315, allocations: 8.203 kB / 0.6513 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2315, allocations: 15.56 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of SimCode: time 8.21e-07/0.2315, allocations: 0 / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.2464, allocations: 2.043 MB / 0.6533 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.352/6.598, allocations: 7.438 kB / 0.6533 GB, free: 53.82 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.048953340388834] Failed to read output from testmodel.py, exit status != 0: 6.676848674193025 6.686402277 6.680757145 Calling exit ...