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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 109.6 kB / 16.45 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002452/0.002452, allocations: 290 kB / 303 MB, free: 9.516 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.302/1.302, allocations: 180.9 MB / 0.5261 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00287/0.00287, allocations: 106.6 kB / 0.7248 GB, free: 40.55 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1778, allocations: 94.15 MB / 0.8168 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01811/0.1959, allocations: 13.02 MB / 0.8295 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003333/0.1992, allocations: 2.679 MB / 0.8321 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1993, allocations: 4 kB / 0.8321 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1996, allocations: 47.67 kB / 0.8321 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002888/0.1999, allocations: 103.3 kB / 0.8322 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.2012, allocations: 0.5093 MB / 0.8327 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.2015, allocations: 235.9 kB / 0.833 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.2016, allocations: 5.844 kB / 0.833 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009234/0.2108, allocations: 3.596 MB / 0.8365 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.2111, allocations: 87.66 kB / 0.8366 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.2111, allocations: 8 kB / 0.8366 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.214, allocations: 1.095 MB / 0.8376 GB, free: 0 / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.362e-05/0.2141, allocations: 39.83 kB / 0.8377 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.2142, allocations: 83.64 kB / 0.8378 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.2151, allocations: 370.8 kB / 0.8381 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2151, allocations: 4 kB / 0.8381 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2151, allocations: 0 / 0.8381 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.2151, allocations: 3.938 kB / 0.8381 GB, free: 15.51 MB / 0.5919 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.0008433/0.216, allocations: 0.5049 MB / 0.8386 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.216, allocations: 16.02 kB / 0.8386 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.2161, allocations: 46.73 kB / 0.8387 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.2163, allocations: 24.84 kB / 0.8387 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.2166, allocations: 208.2 kB / 0.8389 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2166, allocations: 12.7 kB / 0.8389 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.295e-05/0.2166, allocations: 20.36 kB / 0.8389 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.2171, allocations: 255.9 kB / 0.8392 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2171, allocations: 3.984 kB / 0.8392 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2171, allocations: 8 kB / 0.8392 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.2171, allocations: 8 kB / 0.8392 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.2177, allocations: 423.5 kB / 0.8396 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.2189, allocations: 0.9606 MB / 0.8405 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2193, allocations: 157.2 kB / 0.8407 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2194, allocations: 60.81 kB / 0.8407 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/0.221, allocations: 1.833 MB / 0.8425 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.221, allocations: 30.56 kB / 0.8426 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.402e-06/0.221, allocations: 0 / 0.8426 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003749/0.2214, allocations: 149.4 kB / 0.8427 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.2214, allocations: 59.28 kB / 0.8428 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.2216, allocations: 184.4 kB / 0.8429 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2216, allocations: 29.7 kB / 0.843 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.986e-05/0.2217, allocations: 136.2 kB / 0.8431 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.2218, allocations: 59.47 kB / 0.8432 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.2218, allocations: 49.7 kB / 0.8432 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.222, allocations: 330.8 kB / 0.8435 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.2221, allocations: 31.98 kB / 0.8435 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.2223, allocations: 142.7 kB / 0.8437 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.2225, allocations: 204.8 kB / 0.8439 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2225, allocations: 4 kB / 0.8439 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003672/0.2229, allocations: 213.2 kB / 0.8441 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2229, allocations: 8 kB / 0.8441 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.2229, allocations: 4 kB / 0.8441 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.2229, allocations: 7.938 kB / 0.8441 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2231, allocations: 51.91 kB / 0.8442 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2232, allocations: 12.41 kB / 0.8442 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2233, allocations: 31.78 kB / 0.8442 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.2233, allocations: 16 kB / 0.8442 GB, free: 8.543 MB / 0.5919 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 0.0001191/0.2234, allocations: 129.7 kB / 0.8443 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.2235, allocations: 23.83 kB / 0.8444 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.2238, allocations: 150.9 kB / 0.8445 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.2238, allocations: 7.938 kB / 0.8445 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2238, allocations: 0 / 0.8445 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2238, allocations: 0 / 0.8445 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.2241, allocations: 213.6 kB / 0.8447 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2241, allocations: 4 kB / 0.8447 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.483e-05/0.2242, allocations: 31.92 kB / 0.8447 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2242, allocations: 0 / 0.8447 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.2242, allocations: 4 kB / 0.8447 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.2242, allocations: 3.938 kB / 0.8448 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2242, allocations: 0 / 0.8448 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.2245, allocations: 223.3 kB / 0.845 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2246, allocations: 113 kB / 0.8451 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.2246, allocations: 8 kB / 0.8451 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.2248, allocations: 15.92 kB / 0.8451 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.2249, allocations: 11.98 kB / 0.8451 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.2249, allocations: 12 kB / 0.8451 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001109/0.225, allocations: 119.9 kB / 0.8452 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.225, allocations: 0 / 0.8452 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004035/0.2254, allocations: 79.81 kB / 0.8453 GB, free: 7.316 MB / 0.5919 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.0008075/0.2262, allocations: 0.8484 MB / 0.8461 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.2265, allocations: 103.8 kB / 0.8462 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2265, allocations: 3.938 kB / 0.8462 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.2265, allocations: 35.98 kB / 0.8463 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.227, allocations: 57.97 kB / 0.8463 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.2294, allocations: 2.044 MB / 0.8483 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.2298, allocations: 0.7128 MB / 0.849 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001663/0.2299, allocations: 52.56 kB / 0.8491 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.23, allocations: 51.41 kB / 0.8491 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.23, allocations: 0 / 0.8491 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.2598, allocations: 5.547 MB / 0.8545 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.341, allocations: 12.73 kB / 0.8546 GB, free: 13.82 MB / 0.6075 GB " [Timeout remaining time 652] (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: 12.52530351607129] Failed to read output from testmodel.py, exit status != 0: 8.415019671898335 8.438514188 8.21926046 Calling exit ...