Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008828/0.0008827, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009691/0.0009691, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.057/1.057, allocations: 143.4 MB / 434.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 11.98 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1691, allocations: 83.41 MB / 0.5975 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.4222/0.5914, allocations: 123.2 MB / 0.7179 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.6181, allocations: 21.01 MB / 0.7384 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.6184, allocations: 0 / 0.7384 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.6186, allocations: 36.03 kB / 0.7384 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.619, allocations: 80.98 kB / 0.7385 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01975/0.6387, allocations: 5.129 MB / 0.7435 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.6392, allocations: 273.5 kB / 0.7438 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.069e-05/0.6393, allocations: 13.41 kB / 0.7438 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003281/0.6397, allocations: 124.5 kB / 0.7439 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.6398, allocations: 94.16 kB / 0.744 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.6399, allocations: 6.875 kB / 0.744 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02182/0.6617, allocations: 10.46 MB / 0.7542 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.6619, allocations: 43.88 kB / 0.7543 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.662, allocations: 53.64 kB / 0.7543 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008497/0.6705, allocations: 4.093 MB / 0.7583 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6705, allocations: 0 / 0.7583 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6705, allocations: 0 / 0.7583 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.6705, allocations: 0 / 0.7583 GB, free: 7.27 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.003272/0.6738, allocations: 1.15 MB / 0.7594 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6739, allocations: 8.031 kB / 0.7594 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.049e-05/0.6739, allocations: 54.55 kB / 0.7595 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009811/0.6749, allocations: 85.56 kB / 0.7596 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002326/0.6752, allocations: 231.8 kB / 0.7598 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.6752, allocations: 15.53 kB / 0.7598 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.6752, allocations: 12 kB / 0.7598 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.6762, allocations: 452.7 kB / 0.7602 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6762, allocations: 0 / 0.7602 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.6763, allocations: 4 kB / 0.7603 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.6763, allocations: 4 kB / 0.7603 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.6774, allocations: 0.6048 MB / 0.7608 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.6784, allocations: 0.8815 MB / 0.7617 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.6791, allocations: 255 kB / 0.762 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.6792, allocations: 76.77 kB / 0.762 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07486/0.7541, allocations: 35.34 MB / 0.7965 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7542, allocations: 38.56 kB / 0.7966 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.7542, allocations: 0 / 0.7966 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.001503/0.7557, allocations: 416.9 kB / 0.797 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.7557, allocations: 59.34 kB / 0.797 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.7559, allocations: 139 kB / 0.7972 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.7559, allocations: 29.7 kB / 0.7972 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.756, allocations: 108.4 kB / 0.7973 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.7561, allocations: 94.73 kB / 0.7974 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.7561, allocations: 0 / 0.7974 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7562, allocations: 330.8 kB / 0.7977 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.7564, allocations: 79.95 kB / 0.7978 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.7566, allocations: 122.6 kB / 0.7979 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.7568, allocations: 91.48 kB / 0.798 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7568, allocations: 0 / 0.798 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000651/0.7575, allocations: 297.2 kB / 0.7983 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7575, allocations: 5.25 kB / 0.7983 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7575, allocations: 11.5 kB / 0.7983 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7576, allocations: 160 / 0.7983 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.7578, allocations: 87.88 kB / 0.7984 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.7579, allocations: 7.984 kB / 0.7984 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.758, allocations: 27.69 kB / 0.7984 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.7581, allocations: 19.98 kB / 0.7984 GB, free: 10.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.7582, allocations: 125.8 kB / 0.7985 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.7583, allocations: 11.91 kB / 0.7985 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.7608, allocations: 2.36 MB / 0.8008 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.7608, allocations: 7.984 kB / 0.8009 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7608, allocations: 4 kB / 0.8009 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.7608, allocations: 3.984 kB / 0.8009 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.7644, allocations: 3.428 MB / 0.8042 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7644, allocations: 0 / 0.8042 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.7647, allocations: 51.89 kB / 0.8043 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.7647, allocations: 4 kB / 0.8043 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.7647, allocations: 7.984 kB / 0.8043 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.7647, allocations: 7.938 kB / 0.8043 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7647, allocations: 0 / 0.8043 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007605/0.7655, allocations: 0.5499 MB / 0.8048 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.7656, allocations: 140.5 kB / 0.8049 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.7657, allocations: 8 kB / 0.805 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.7659, allocations: 15.98 kB / 0.805 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.226e-05/0.7659, allocations: 23.97 kB / 0.805 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.766, allocations: 8 kB / 0.805 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.253e-05/0.766, allocations: 113.1 kB / 0.8051 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.766, allocations: 0 / 0.8051 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004289/0.7703, allocations: 1.62 MB / 0.8067 GB, free: 2.211 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008523/0.7789, allocations: 2.878 MB / 0.8095 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0006177/0.7795, allocations: 321.5 kB / 0.8098 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7795, allocations: 4.062 kB / 0.8098 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.7799, allocations: 240.5 kB / 0.81 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.7804, allocations: 59.94 kB / 0.8101 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.7845, allocations: 2.049 MB / 0.8121 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.7848, allocations: 0.7625 MB / 0.8128 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005779/0.7854, allocations: 402.3 kB / 0.8132 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.7856, allocations: 99.38 kB / 0.8133 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of SimCode: time 5.11e-07/0.7856, allocations: 0 / 0.8133 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3883/1.174, allocations: 61.54 MB / 0.8734 GB, free: 169.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001267/1.174, allocations: 179.2 kB / 0.8736 GB, free: 169.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.543/6.717, allocations: 0 / 0.8736 GB, free: 169.4 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: