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.004769/0.004769, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.001233/0.001233, allocations: 203.9 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002367/0.002367, allocations: 286.5 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9609/0.9609, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 95.84 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1549, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4381/0.593, allocations: 136.1 MB / 0.8989 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02634/0.6194, allocations: 22.32 MB / 0.9207 GB, free: 4.637 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.6196, allocations: 0 / 0.9207 GB, free: 4.637 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.6198, allocations: 51.67 kB / 0.9207 GB, free: 4.586 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.6202, allocations: 95.36 kB / 0.9208 GB, free: 4.492 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01538/0.6355, allocations: 6.67 MB / 0.9273 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.636, allocations: 251.9 kB / 0.9276 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.636, allocations: 13.56 kB / 0.9276 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.6363, allocations: 147.4 kB / 0.9277 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.6365, allocations: 87.67 kB / 0.9278 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.6365, allocations: 8 kB / 0.9278 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02019/0.6567, allocations: 10.97 MB / 0.9385 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-05/0.6568, allocations: 35.89 kB / 0.9386 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.657, allocations: 79.66 kB / 0.9386 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01188/0.6689, allocations: 6.166 MB / 0.9447 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6689, allocations: 0 / 0.9447 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6689, allocations: 0 / 0.9447 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.6689, allocations: 0 / 0.9447 GB, free: 12.07 MB / 0.7012 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.002875/0.6718, allocations: 1.223 MB / 0.9459 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6719, allocations: 15.97 kB / 0.9459 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.6719, allocations: 50.73 kB / 0.9459 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.673, allocations: 90.62 kB / 0.946 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.6733, allocations: 228.3 kB / 0.9462 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6733, allocations: 19.92 kB / 0.9462 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.6734, allocations: 16 kB / 0.9463 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.6745, allocations: 457.7 kB / 0.9467 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.6745, allocations: 0 / 0.9467 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.6745, allocations: 4 kB / 0.9467 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.6745, allocations: 8 kB / 0.9467 GB, free: 9.855 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.6757, allocations: 0.6008 MB / 0.9473 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.6768, allocations: 0.8745 MB / 0.9481 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.6776, allocations: 256.5 kB / 0.9484 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.6777, allocations: 76.11 kB / 0.9485 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08842/0.7662, allocations: 35.43 MB / 0.9831 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.7662, allocations: 38.56 kB / 0.9831 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.744e-06/0.7663, allocations: 0 / 0.9831 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001658/0.7679, allocations: 421.9 kB / 0.9835 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.768, allocations: 55.41 kB / 0.9836 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.7681, allocations: 140.6 kB / 0.9837 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.7681, allocations: 29.7 kB / 0.9837 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.7682, allocations: 112.5 kB / 0.9838 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.7683, allocations: 87.22 kB / 0.9839 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.7684, allocations: 81.66 kB / 0.984 GB, free: 452 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7686, allocations: 326.8 kB / 0.9843 GB, free: 116 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.7688, allocations: 79.95 kB / 0.9844 GB, free: 36 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.769, allocations: 129.1 kB / 0.9845 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.7695, allocations: 232.2 kB / 0.9847 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7695, allocations: 0 / 0.9847 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007162/0.7702, allocations: 301.3 kB / 0.985 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.7702, allocations: 4 kB / 0.985 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.7702, allocations: 7.875 kB / 0.985 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.7703, allocations: 0 / 0.985 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.7706, allocations: 88.03 kB / 0.9851 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.7706, allocations: 0 / 0.9851 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.7708, allocations: 23.83 kB / 0.9851 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.7708, allocations: 19.98 kB / 0.9851 GB, free: 15.21 MB / 0.7481 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.0001433/0.771, allocations: 134.4 kB / 0.9853 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001702/0.7712, allocations: 15.91 kB / 0.9853 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.7737, allocations: 2.342 MB / 0.9876 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.7738, allocations: 15.97 kB / 0.9876 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7738, allocations: 4 kB / 0.9876 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.7738, allocations: 3.938 kB / 0.9876 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.7773, allocations: 3.423 MB / 0.9909 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7773, allocations: 0 / 0.9909 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.7776, allocations: 51.89 kB / 0.991 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-06/0.7776, allocations: 4 kB / 0.991 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.7776, allocations: 15.92 kB / 0.991 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.7776, allocations: 3.938 kB / 0.991 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7776, allocations: 0 / 0.991 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.7784, allocations: 0.5545 MB / 0.9916 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.7786, allocations: 140.7 kB / 0.9917 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.7786, allocations: 7.938 kB / 0.9917 GB, free: 8.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.7788, allocations: 15.98 kB / 0.9917 GB, free: 8.312 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.7789, allocations: 15.97 kB / 0.9917 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.97e-05/0.7789, allocations: 15.98 kB / 0.9917 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.432e-05/0.779, allocations: 105.8 kB / 0.9918 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.779, allocations: 4 kB / 0.9918 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003781/0.7828, allocations: 1.645 MB / 0.9935 GB, free: 6.527 MB / 0.7481 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.008329/0.7911, allocations: 2.902 MB / 0.9963 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006705/0.7918, allocations: 320.3 kB / 0.9966 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.7919, allocations: 0 / 0.9966 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000319/0.7922, allocations: 236.5 kB / 0.9968 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.7927, allocations: 73.36 kB / 0.9969 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.798, allocations: 3.075 MB / 0.9999 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.7984, allocations: 0.7661 MB / 1.001 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000582/0.799, allocations: 417.1 kB / 1.001 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.7992, allocations: 99.39 kB / 1.001 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of SimCode: time 4.21e-07/0.7992, allocations: 0 / 1.001 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09915/0.8984, allocations: 60.8 MB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.15, allocations: 13.88 kB / 1.061 GB, free: 1.742 MB / 0.8106 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)