Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.001509/0.001509, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001321/0.001321, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 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 1.4/1.4, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.002493/0.002493, allocations: 284.8 kB / 309.8 MB, free: 3.465 MB / 238.1 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 1.054/1.054, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.1 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.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002859/0.002859, allocations: 110.2 kB / 0.7347 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5411, allocations: 95.33 MB / 0.8278 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1648/0.7059, allocations: 139.4 MB / 0.9639 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02994/0.7359, allocations: 22.81 MB / 0.9862 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.736, allocations: 0 / 0.9862 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.7363, allocations: 51.66 kB / 0.9862 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.7366, allocations: 87.38 kB / 0.9863 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01739/0.754, allocations: 6.982 MB / 0.9931 GB, free: 180 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.7545, allocations: 247.9 kB / 0.9933 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.467e-05/0.7545, allocations: 5.562 kB / 0.9933 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/0.7549, allocations: 155.4 kB / 0.9935 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.7551, allocations: 91.66 kB / 0.9936 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.7551, allocations: 8 kB / 0.9936 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02523/0.7803, allocations: 11.69 MB / 1.005 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.7804, allocations: 35.89 kB / 1.005 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.7806, allocations: 83.59 kB / 1.005 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.7955, allocations: 6.501 MB / 1.011 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.7955, allocations: 0 / 1.011 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7955, allocations: 0 / 1.011 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.7955, allocations: 0 / 1.011 GB, free: 13.35 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003884/0.7994, allocations: 1.25 MB / 1.013 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.7994, allocations: 11.97 kB / 1.013 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.194e-05/0.7994, allocations: 4.188 kB / 1.013 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.7995, allocations: 54.73 kB / 1.013 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.8006, allocations: 84.75 kB / 1.013 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.8009, allocations: 231.9 kB / 1.013 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.8009, allocations: 12 kB / 1.013 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.8009, allocations: 19.98 kB / 1.013 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.8022, allocations: 452.9 kB / 1.014 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.8022, allocations: 3.938 kB / 1.014 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.154e-05/0.8023, allocations: 8 kB / 1.014 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.8023, allocations: 4 kB / 1.014 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.8036, allocations: 0.6008 MB / 1.014 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.8048, allocations: 0.8707 MB / 1.015 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009161/0.8057, allocations: 238.3 kB / 1.015 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.8059, allocations: 68.77 kB / 1.015 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09695/0.9028, allocations: 36.52 MB / 1.051 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.9029, allocations: 42.56 kB / 1.051 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 1.743e-06/0.9029, allocations: 0 / 1.051 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25): time 0.001878/0.9048, allocations: 421.4 kB / 1.051 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.9048, allocations: 55.41 kB / 1.051 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.9049, allocations: 141.8 kB / 1.052 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.905, allocations: 33.7 kB / 1.052 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.9051, allocations: 108.5 kB / 1.052 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.9052, allocations: 87.22 kB / 1.052 GB, free: 488 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.9053, allocations: 85.66 kB / 1.052 GB, free: 396 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.9054, allocations: 326.8 kB / 1.052 GB, free: 60 kB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.9057, allocations: 76 kB / 1.052 GB, free: 15.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.9059, allocations: 130.8 kB / 1.052 GB, free: 15.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.9064, allocations: 224 kB / 1.053 GB, free: 15.61 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.9064, allocations: 0 / 1.053 GB, free: 15.61 MB / 0.795 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008326/0.9073, allocations: 300.6 kB / 1.053 GB, free: 15.31 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.9073, allocations: 8 kB / 1.053 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.9073, allocations: 4.156 kB / 1.053 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.9073, allocations: 4 kB / 1.053 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/0.9076, allocations: 79.88 kB / 1.053 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.9076, allocations: 11.88 kB / 1.053 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.9078, allocations: 19.84 kB / 1.053 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.9078, allocations: 19.98 kB / 1.053 GB, free: 15.16 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * 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 0.0001559/0.908, allocations: 133.8 kB / 1.053 GB, free: 15.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.9082, allocations: 19.91 kB / 1.053 GB, free: 15 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/0.9108, allocations: 2.334 MB / 1.055 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.9108, allocations: 23.95 kB / 1.055 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.9108, allocations: 3.938 kB / 1.055 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9108, allocations: 0 / 1.055 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.9146, allocations: 3.427 MB / 1.059 GB, free: 9.098 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9147, allocations: 3.938 kB / 1.059 GB, free: 9.094 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002717/0.9149, allocations: 55.89 kB / 1.059 GB, free: 9.039 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.9149, allocations: 3.938 kB / 1.059 GB, free: 9.035 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.915, allocations: 11.98 kB / 1.059 GB, free: 9.023 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.915, allocations: 4 kB / 1.059 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.915, allocations: 0 / 1.059 GB, free: 9.02 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/0.9158, allocations: 0.5467 MB / 1.059 GB, free: 8.453 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.916, allocations: 144.6 kB / 1.06 GB, free: 8.293 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.916, allocations: 4 kB / 1.06 GB, free: 8.289 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.9162, allocations: 15.98 kB / 1.06 GB, free: 8.273 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.9163, allocations: 11.98 kB / 1.06 GB, free: 8.262 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.9163, allocations: 19.98 kB / 1.06 GB, free: 8.242 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.264e-05/0.9164, allocations: 109.7 kB / 1.06 GB, free: 8.137 MB / 0.795 GB Notification: Performance of sort global known variables: time 8e-08/0.9164, allocations: 0 / 1.06 GB, free: 8.137 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004789/0.9212, allocations: 1.719 MB / 1.061 GB, free: 6.414 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.01024/0.9314, allocations: 2.953 MB / 1.064 GB, free: 3.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006998/0.9321, allocations: 308.5 kB / 1.065 GB, free: 3.129 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9321, allocations: 4.125 kB / 1.065 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.9325, allocations: 196.5 kB / 1.065 GB, free: 2.934 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.933, allocations: 59.88 kB / 1.065 GB, free: 2.875 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/0.939, allocations: 3.091 MB / 1.068 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.9393, allocations: 0.77 MB / 1.069 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000562/0.9399, allocations: 405.2 kB / 1.069 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.9401, allocations: 95.38 kB / 1.069 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/0.9401, allocations: 0 / 1.069 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/1.046, allocations: 63.36 MB / 1.131 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/13.02, allocations: 18.42 kB / 1.131 GB, free: 15.07 MB / 0.8731 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.152224726974964] Failed to read output from testmodel.py, exit status != 0: 13.193776413041633 13.208249289 12.409765482 Calling exit ...