Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.0007147/0.0007147, 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.000707/0.000707, 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.8392/0.8392, 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.001414/0.001414, allocations: 233.5 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.6568/0.6568, allocations: 138.4 MB / 454.3 MB, free: 30.09 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.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.756e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.2323/0.2324, allocations: 11.94 MB / 0.658 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.2338, allocations: 2.42 MB / 0.6604 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.2339, allocations: 1.781 kB / 0.6604 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.2341, allocations: 47.83 kB / 0.6604 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.2343, allocations: 102.2 kB / 0.6605 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.235, allocations: 0.5405 MB / 0.661 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.2352, allocations: 241.1 kB / 0.6613 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.2352, allocations: 11 kB / 0.6613 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004643/0.2399, allocations: 3.633 MB / 0.6648 GB, free: 47 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.24, allocations: 79.38 kB / 0.6649 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.24, allocations: 8.5 kB / 0.6649 GB, free: 46.97 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.2413, allocations: 1.05 MB / 0.6659 GB, free: 46.6 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.2414, allocations: 40.42 kB / 0.666 GB, free: 46.58 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.07e-05/0.2414, allocations: 58.58 kB / 0.666 GB, free: 46.56 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004085/0.2418, allocations: 387.2 kB / 0.6664 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2419, allocations: 4 kB / 0.6664 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2419, allocations: 5.406 kB / 0.6664 GB, free: 46.42 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.2419, allocations: 0 / 0.6664 GB, free: 46.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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005259/0.2424, allocations: 441 kB / 0.6668 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2424, allocations: 10.78 kB / 0.6668 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.2425, allocations: 59.2 kB / 0.6669 GB, free: 46.01 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2426, allocations: 26.16 kB / 0.6669 GB, free: 46 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.2428, allocations: 160.4 kB / 0.6671 GB, free: 45.85 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2428, allocations: 11.73 kB / 0.6671 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2428, allocations: 13.31 kB / 0.6671 GB, free: 45.84 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.2431, allocations: 488.7 kB / 0.6676 GB, free: 45.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2431, allocations: 6.344 kB / 0.6676 GB, free: 45.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2431, allocations: 13.91 kB / 0.6676 GB, free: 45.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.2432, allocations: 5.594 kB / 0.6676 GB, free: 45.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.2435, allocations: 424.3 kB / 0.668 GB, free: 45.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006768/0.2441, allocations: 0.8194 MB / 0.6688 GB, free: 44.65 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2444, allocations: 155.2 kB / 0.6689 GB, free: 44.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.2444, allocations: 56.59 kB / 0.669 GB, free: 44.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004008/0.2448, allocations: 459.4 kB / 0.6694 GB, free: 44.25 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.2449, allocations: 36.34 kB / 0.6695 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.2449, allocations: 4 kB / 0.6695 GB, free: 44.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0002271/0.2451, allocations: 142.5 kB / 0.6696 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.2451, allocations: 57.47 kB / 0.6697 GB, free: 44.07 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.2452, allocations: 182.5 kB / 0.6698 GB, free: 43.93 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.2452, allocations: 27.77 kB / 0.6699 GB, free: 43.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.2452, allocations: 145.9 kB / 0.67 GB, free: 43.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.2453, allocations: 57.03 kB / 0.6701 GB, free: 43.72 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.2453, allocations: 49.45 kB / 0.6701 GB, free: 43.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.181e-05/0.2453, allocations: 324 kB / 0.6704 GB, free: 43.37 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.2454, allocations: 37.11 kB / 0.6705 GB, free: 43.36 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.877e-05/0.2455, allocations: 143.7 kB / 0.6706 GB, free: 43.22 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2456, allocations: 203.7 kB / 0.6708 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2456, allocations: 3.938 kB / 0.6708 GB, free: 43.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002019/0.2458, allocations: 218.1 kB / 0.671 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2458, allocations: 5.5 kB / 0.671 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2458, allocations: 6.953 kB / 0.671 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2458, allocations: 7.938 kB / 0.671 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2459, allocations: 58.27 kB / 0.6711 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2459, allocations: 9.375 kB / 0.6711 GB, free: 42.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.951e-05/0.246, allocations: 31.84 kB / 0.6711 GB, free: 42.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.246, allocations: 13 kB / 0.6711 GB, free: 42.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 5.802e-05/0.2461, allocations: 127.5 kB / 0.6712 GB, free: 42.77 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.2461, allocations: 23.44 kB / 0.6713 GB, free: 42.76 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.2463, allocations: 159.3 kB / 0.6714 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.2463, allocations: 1.781 kB / 0.6714 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.2463, allocations: 0 / 0.6714 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2463, allocations: 8.344 kB / 0.6714 GB, free: 42.68 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2464, allocations: 181.6 kB / 0.6716 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2464, allocations: 2.25 kB / 0.6716 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.2465, allocations: 33.38 kB / 0.6716 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2465, allocations: 1.812 kB / 0.6716 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.2465, allocations: 5.719 kB / 0.6716 GB, free: 42.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.2465, allocations: 4 kB / 0.6716 GB, free: 42.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2465, allocations: 2.25 kB / 0.6716 GB, free: 42.49 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.2466, allocations: 223.4 kB / 0.6719 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.2467, allocations: 36.23 kB / 0.6719 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.2467, allocations: 3.141 kB / 0.6719 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.2468, allocations: 15.55 kB / 0.6719 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.2468, allocations: 12.38 kB / 0.6719 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2468, allocations: 17.53 kB / 0.6719 GB, free: 42.29 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.2469, allocations: 119 kB / 0.6721 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2469, allocations: 0 / 0.6721 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002507/0.2471, allocations: 83.38 kB / 0.6721 GB, free: 42.18 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003768/0.2475, allocations: 0.8365 MB / 0.673 GB, free: 41.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.2476, allocations: 116 kB / 0.6731 GB, free: 41.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2476, allocations: 2.531 kB / 0.6731 GB, free: 41.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.2477, allocations: 38.61 kB / 0.6731 GB, free: 41.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.2479, allocations: 63.42 kB / 0.6732 GB, free: 41.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2493, allocations: 1.996 MB / 0.6751 GB, free: 39.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.2494, allocations: 101.3 kB / 0.6752 GB, free: 39.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.2495, allocations: 53.69 kB / 0.6753 GB, free: 39.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.2495, allocations: 48.48 kB / 0.6753 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of SimCode: time 5.81e-07/0.2495, allocations: 5.844 kB / 0.6753 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.2675, allocations: 6.497 MB / 0.6817 GB, free: 38.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.415/6.683, allocations: 6.641 kB / 0.6817 GB, free: 38.24 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.128730929456651] Failed to read output from testmodel.py, exit status != 0: 6.761843287386 6.771211897 6.527548968 Calling exit ...