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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002371/0.002371, allocations: 294.5 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8726/0.8726, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 104.4 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1339, allocations: 86.98 MB / 0.6803 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4213/0.5552, allocations: 136.1 MB / 0.8132 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02049/0.5757, allocations: 22.33 MB / 0.835 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.5759, allocations: 1.156 kB / 0.835 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.5762, allocations: 45.69 kB / 0.8351 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.5765, allocations: 93.23 kB / 0.8351 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01803/0.5945, allocations: 6.701 MB / 0.8417 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004005/0.5949, allocations: 247.7 kB / 0.8419 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.785e-05/0.595, allocations: 17.8 kB / 0.8419 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.5953, allocations: 139.8 kB / 0.8421 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.5955, allocations: 88.55 kB / 0.8422 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.5956, allocations: 8.25 kB / 0.8422 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/0.6159, allocations: 10.68 MB / 0.8526 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.305e-05/0.616, allocations: 36.36 kB / 0.8526 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.6161, allocations: 79.83 kB / 0.8527 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.6279, allocations: 6.176 MB / 0.8587 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6279, allocations: 0 / 0.8587 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6279, allocations: 0 / 0.8587 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.6279, allocations: 4 kB / 0.8587 GB, free: 4.133 MB / 0.5762 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.003015/0.6309, allocations: 1.186 MB / 0.8599 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.631, allocations: 14.11 kB / 0.8599 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.746e-05/0.631, allocations: 46.53 kB / 0.86 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.6321, allocations: 88.75 kB / 0.86 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.6323, allocations: 227 kB / 0.8603 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.6323, allocations: 20.48 kB / 0.8603 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.6324, allocations: 18.09 kB / 0.8603 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.6334, allocations: 447.8 kB / 0.8607 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.6334, allocations: 0 / 0.8607 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.6335, allocations: 11.38 kB / 0.8607 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6335, allocations: 5.75 kB / 0.8607 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.6346, allocations: 0.5973 MB / 0.8613 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.6355, allocations: 0.8766 MB / 0.8622 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/0.6362, allocations: 251.5 kB / 0.8624 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.6364, allocations: 74.19 kB / 0.8625 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08512/0.7215, allocations: 35.06 MB / 0.8967 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.7215, allocations: 42.44 kB / 0.8968 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/0.7216, allocations: 0 / 0.8968 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001752/0.7233, allocations: 422.1 kB / 0.8972 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.7234, allocations: 55.41 kB / 0.8972 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.7235, allocations: 135.5 kB / 0.8974 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.7235, allocations: 29.7 kB / 0.8974 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.7236, allocations: 116.3 kB / 0.8975 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.312e-05/0.7237, allocations: 89.8 kB / 0.8976 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.7238, allocations: 77.66 kB / 0.8977 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7239, allocations: 326.8 kB / 0.898 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.7241, allocations: 79.95 kB / 0.898 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.7244, allocations: 133 kB / 0.8982 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.7248, allocations: 213 kB / 0.8984 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7248, allocations: 6.125 kB / 0.8984 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006962/0.7255, allocations: 304.5 kB / 0.8987 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.7255, allocations: 4 kB / 0.8987 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7255, allocations: 0 / 0.8987 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.7256, allocations: 4 kB / 0.8987 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.7259, allocations: 83.88 kB / 0.8988 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.7259, allocations: 7.984 kB / 0.8988 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.726, allocations: 19.78 kB / 0.8988 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.7261, allocations: 23.98 kB / 0.8988 GB, free: 12.71 MB / 0.6231 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.0001216/0.7262, allocations: 130.6 kB / 0.8989 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.7264, allocations: 15.81 kB / 0.8989 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.7286, allocations: 2.342 MB / 0.9012 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/0.7287, allocations: 11.98 kB / 0.9012 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7287, allocations: 0 / 0.9012 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.7287, allocations: 7.922 kB / 0.9012 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.7317, allocations: 3.43 MB / 0.9046 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.7317, allocations: 4 kB / 0.9046 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.732, allocations: 55.83 kB / 0.9047 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.732, allocations: 8 kB / 0.9047 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.732, allocations: 9.812 kB / 0.9047 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.732, allocations: 4 kB / 0.9047 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.732, allocations: 3.984 kB / 0.9047 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.7328, allocations: 0.5414 MB / 0.9052 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.7329, allocations: 144.5 kB / 0.9053 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.7329, allocations: 7.938 kB / 0.9054 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.7332, allocations: 15.98 kB / 0.9054 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.7332, allocations: 19.98 kB / 0.9054 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.7332, allocations: 15.98 kB / 0.9054 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.7333, allocations: 105.6 kB / 0.9055 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7333, allocations: 0 / 0.9055 GB, free: 5.691 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004091/0.7374, allocations: 1.624 MB / 0.9071 GB, free: 4.066 MB / 0.6231 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.00896/0.7464, allocations: 2.891 MB / 0.9099 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006591/0.7471, allocations: 336.3 kB / 0.9102 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.7471, allocations: 0 / 0.9102 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.7474, allocations: 244.5 kB / 0.9105 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.7479, allocations: 66.86 kB / 0.9105 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/0.7532, allocations: 3.031 MB / 0.9135 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.7534, allocations: 0.7663 MB / 0.9142 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005086/0.7539, allocations: 408.9 kB / 0.9146 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.7541, allocations: 103.4 kB / 0.9147 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of SimCode: time 3.51e-07/0.7541, allocations: 0 / 0.9147 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/0.855, allocations: 60.95 MB / 0.9743 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/11.06, allocations: 4.625 kB / 0.9743 GB, free: 15.31 MB / 0.7012 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)