Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.0007398/0.0007398, 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.0007112/0.0007112, allocations: 165.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.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001482/0.001482, allocations: 230 kB / 259.4 MB, free: 13.02 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.666/0.666, allocations: 138.4 MB / 454.3 MB, free: 30 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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.184e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.23/0.23, allocations: 3.233 MB / 0.6494 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 9.237e-05/0.2301, allocations: 50.69 kB / 0.6495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.2302, allocations: 0 / 0.6495 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.2303, allocations: 6.891 kB / 0.6495 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.2304, allocations: 7.562 kB / 0.6495 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.2309, allocations: 198 kB / 0.6497 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.231, allocations: 36.75 kB / 0.6497 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.231, allocations: 3.047 kB / 0.6497 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.039e-05/0.2311, allocations: 23.23 kB / 0.6498 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.2312, allocations: 13.06 kB / 0.6498 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.2312, allocations: 1.312 kB / 0.6498 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.2314, allocations: 138.2 kB / 0.6499 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.838e-05/0.2315, allocations: 7.719 kB / 0.6499 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.2315, allocations: 8.172 kB / 0.6499 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.2317, allocations: 125.1 kB / 0.65 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2317, allocations: 1.344 kB / 0.65 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2317, allocations: 4.781 kB / 0.65 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.2317, allocations: 0.9375 kB / 0.65 GB, free: 55.42 MB / 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.000328/0.2321, allocations: 269.7 kB / 0.6503 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2321, allocations: 12.41 kB / 0.6503 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.2321, allocations: 32.11 kB / 0.6503 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.2322, allocations: 7.297 kB / 0.6503 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.143e-05/0.2322, allocations: 103.9 kB / 0.6504 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.2323, allocations: 56.61 kB / 0.6505 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.2323, allocations: 9.359 kB / 0.6505 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.2324, allocations: 66.84 kB / 0.6506 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.2324, allocations: 3.938 kB / 0.6506 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2324, allocations: 1.5 kB / 0.6506 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.2325, allocations: 2.188 kB / 0.6506 GB, free: 54.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.2325, allocations: 21.7 kB / 0.6506 GB, free: 54.85 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.2329, allocations: 260.4 kB / 0.6509 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.398e-05/0.2329, allocations: 20.89 kB / 0.6509 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.233, allocations: 10.59 kB / 0.6509 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.606e-05/0.233, allocations: 34.75 kB / 0.6509 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.233, allocations: 36.47 kB / 0.6509 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.233, allocations: 1.281 kB / 0.651 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.2332, allocations: 37.95 kB / 0.651 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.2332, allocations: 52.25 kB / 0.651 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.2332, allocations: 103.1 kB / 0.6511 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.2332, allocations: 26.45 kB / 0.6512 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.2333, allocations: 87.34 kB / 0.6512 GB, free: 54.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.2333, allocations: 7.797 kB / 0.6513 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.2333, allocations: 20.3 kB / 0.6513 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.806e-05/0.2333, allocations: 313.6 kB / 0.6516 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.2333, allocations: 3.125 kB / 0.6516 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.2334, allocations: 19.7 kB / 0.6516 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.2334, allocations: 35.02 kB / 0.6516 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2334, allocations: 0 / 0.6516 GB, free: 53.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.173e-05/0.2334, allocations: 42.08 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.2335, allocations: 8.156 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2335, allocations: 0 / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2335, allocations: 5.375 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-05/0.2335, allocations: 10.33 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2335, allocations: 1.297 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.197e-05/0.2335, allocations: 3.25 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2335, allocations: 1.031 kB / 0.6517 GB, free: 53.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 3.598e-05/0.2336, allocations: 118 kB / 0.6518 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.2336, allocations: 3.359 kB / 0.6518 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.869e-05/0.2337, allocations: 124.6 kB / 0.6519 GB, free: 53.57 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.2337, allocations: 181 kB / 0.6521 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.2337, allocations: 178.5 kB / 0.6523 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.2337, allocations: 182.5 kB / 0.6524 GB, free: 53.03 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.301e-05/0.2338, allocations: 384.5 kB / 0.6528 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.2338, allocations: 103.8 kB / 0.6529 GB, free: 52.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-06/0.2338, allocations: 105.6 kB / 0.653 GB, free: 52.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.627e-05/0.2338, allocations: 180.7 kB / 0.6532 GB, free: 52.22 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.2338, allocations: 182.8 kB / 0.6534 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.371e-05/0.2339, allocations: 180.7 kB / 0.6535 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/0.2339, allocations: 182.5 kB / 0.6537 GB, free: 51.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.201e-05/0.2339, allocations: 308 kB / 0.654 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.2339, allocations: 108.1 kB / 0.6541 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.234, allocations: 185.9 kB / 0.6543 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.2341, allocations: 111 kB / 0.6544 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.2341, allocations: 182.8 kB / 0.6546 GB, free: 50.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.2341, allocations: 101.9 kB / 0.6547 GB, free: 50.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.2341, allocations: 90.31 kB / 0.6547 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2341, allocations: 0 / 0.6547 GB, free: 50.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001963/0.2343, allocations: 31.83 kB / 0.6548 GB, free: 50.59 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 (0): * Single equations (assignments): 0 * 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.0002871/0.2346, allocations: 0.8747 MB / 0.6556 GB, free: 49.76 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.285e-05/0.2347, allocations: 13.5 kB / 0.6556 GB, free: 49.76 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2347, allocations: 0 / 0.6556 GB, free: 49.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.2347, allocations: 7.5 kB / 0.6556 GB, free: 49.76 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.2349, allocations: 463.5 kB / 0.6561 GB, free: 49.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006825/0.2356, allocations: 1.33 MB / 0.6574 GB, free: 48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.754e-05/0.2357, allocations: 57.12 kB / 0.6574 GB, free: 47.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.2357, allocations: 10 kB / 0.6575 GB, free: 47.92 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.2357, allocations: 14.19 kB / 0.6575 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/0.2357, allocations: 0 / 0.6575 GB, free: 47.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.2508, allocations: 2.865 MB / 0.6603 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.423/6.674, allocations: 1.797 kB / 0.6603 GB, free: 46.98 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.180162707343698] Failed to read output from testmodel.py, exit status != 0: 6.750463067553937 6.759740822 6.526149537 Calling exit ...