Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamProperties,fileNamePrefix="IBPSA_latest_IBPSA_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.000952/0.000952, allocations: 99.05 kB / 16.02 MB, free: 80 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.00124/0.00124, allocations: 184.8 kB / 16.92 MB, free: 6.676 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6981/0.6981, allocations: 115.5 MB / 407.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 12 kB / 495.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1411, allocations: 77.53 MB / 0.56 GB, free: 8.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.3732/0.5144, allocations: 132.2 MB / 0.6892 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02596/0.5403, allocations: 24.78 MB / 0.7134 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.5405, allocations: 4 kB / 0.7134 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.5407, allocations: 35.81 kB / 0.7134 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.541, allocations: 83.42 kB / 0.7135 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.01236/0.5534, allocations: 5.493 MB / 0.7188 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.5537, allocations: 303.8 kB / 0.7191 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.457e-05/0.5537, allocations: 9.562 kB / 0.7191 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.554, allocations: 131.5 kB / 0.7193 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.5542, allocations: 95.64 kB / 0.7194 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.5542, allocations: 15.94 kB / 0.7194 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01691/0.5711, allocations: 11.51 MB / 0.7306 GB, free: 7.434 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.5712, allocations: 43.81 kB / 0.7307 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.5714, allocations: 105.4 kB / 0.7308 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.5823, allocations: 6.483 MB / 0.7371 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5823, allocations: 0 / 0.7371 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5824, allocations: 4 kB / 0.7371 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.5824, allocations: 0 / 0.7371 GB, free: 0.7812 MB / 0.545 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.002844/0.5852, allocations: 1.167 MB / 0.7382 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.5853, allocations: 12.03 kB / 0.7382 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.5853, allocations: 46.73 kB / 0.7383 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009711/0.5863, allocations: 84.67 kB / 0.7384 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.5865, allocations: 228.3 kB / 0.7386 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5865, allocations: 11.94 kB / 0.7386 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.5866, allocations: 16 kB / 0.7386 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/0.5876, allocations: 448.5 kB / 0.739 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5876, allocations: 7.938 kB / 0.739 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.5876, allocations: 7.984 kB / 0.7391 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5876, allocations: 4 kB / 0.7391 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5887, allocations: 0.5938 MB / 0.7396 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009268/0.5896, allocations: 0.8821 MB / 0.7405 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.5904, allocations: 258.2 kB / 0.7407 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.5905, allocations: 76.83 kB / 0.7408 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08037/0.6709, allocations: 35.33 MB / 0.7753 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.6709, allocations: 34.56 kB / 0.7754 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.6709, allocations: 0 / 0.7754 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001574/0.6725, allocations: 431.8 kB / 0.7758 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.6726, allocations: 55.41 kB / 0.7758 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.6727, allocations: 137.8 kB / 0.7759 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.6727, allocations: 33.7 kB / 0.776 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.6728, allocations: 104.5 kB / 0.7761 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.341e-05/0.6729, allocations: 86.73 kB / 0.7762 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.6729, allocations: 25.7 kB / 0.7762 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.673, allocations: 330.8 kB / 0.7765 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.6732, allocations: 83.95 kB / 0.7766 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.6734, allocations: 125.1 kB / 0.7767 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/0.6737, allocations: 224.2 kB / 0.7769 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.6738, allocations: 0 / 0.7769 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006419/0.6744, allocations: 297.2 kB / 0.7772 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.6744, allocations: 10.19 kB / 0.7772 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6744, allocations: 0 / 0.7772 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6745, allocations: 4 kB / 0.7772 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.6747, allocations: 79.88 kB / 0.7773 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6747, allocations: 8.156 kB / 0.7773 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.6749, allocations: 23.69 kB / 0.7773 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.675, allocations: 27.98 kB / 0.7773 GB, free: 4.152 MB / 0.5919 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.0001208/0.6751, allocations: 129.8 kB / 0.7775 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.6752, allocations: 15.84 kB / 0.7775 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.6773, allocations: 2.354 MB / 0.7798 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.6774, allocations: 11.98 kB / 0.7798 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6774, allocations: 0 / 0.7798 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6774, allocations: 3.938 kB / 0.7798 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.6802, allocations: 3.415 MB / 0.7831 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.6802, allocations: 0 / 0.7831 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.6805, allocations: 59.89 kB / 0.7832 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.6805, allocations: 0 / 0.7832 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.6805, allocations: 15.92 kB / 0.7832 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.6805, allocations: 4 kB / 0.7832 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6805, allocations: 2.125 kB / 0.7832 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/0.6812, allocations: 0.5466 MB / 0.7837 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.6813, allocations: 132.6 kB / 0.7839 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.6814, allocations: 11.94 kB / 0.7839 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.6816, allocations: 19.89 kB / 0.7839 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.6816, allocations: 23.97 kB / 0.7839 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.6817, allocations: 12 kB / 0.7839 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.6817, allocations: 107.2 kB / 0.784 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.503e-06/0.6817, allocations: 4 kB / 0.784 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003392/0.6851, allocations: 1.683 MB / 0.7857 GB, free: 11.44 MB / 0.6075 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.007675/0.6928, allocations: 2.922 MB / 0.7885 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.6933, allocations: 327.6 kB / 0.7889 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6933, allocations: 0 / 0.7889 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002619/0.6936, allocations: 249.2 kB / 0.7891 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004839/0.6941, allocations: 64.03 kB / 0.7892 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.6984, allocations: 3.211 MB / 0.7923 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.6987, allocations: 0.7661 MB / 0.793 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004676/0.6992, allocations: 409.3 kB / 0.7934 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.6993, allocations: 103.4 kB / 0.7935 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.6993, allocations: 0 / 0.7935 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.179/3.878, allocations: 62.87 MB / 0.8549 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/3.879, allocations: 189 kB / 0.8551 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.378/9.257, allocations: 0 / 0.8551 GB, free: 197.5 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)