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.001058/0.001058, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001032/0.001032, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7555/0.7555, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 70.75 kB / 0.568 GB, free: 28.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1368, allocations: 77.92 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.4672/0.6041, allocations: 136.1 MB / 0.777 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02418/0.6283, allocations: 22.68 MB / 0.7991 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.6286, allocations: 0 / 0.7991 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.6289, allocations: 51.86 kB / 0.7992 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.6292, allocations: 92.83 kB / 0.7992 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01841/0.6476, allocations: 6.967 MB / 0.8061 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00038/0.648, allocations: 256.7 kB / 0.8063 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.6481, allocations: 13.02 kB / 0.8063 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.6484, allocations: 138.6 kB / 0.8064 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.6485, allocations: 96.61 kB / 0.8065 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.6485, allocations: 10.16 kB / 0.8065 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0218/0.6703, allocations: 11.63 MB / 0.8179 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.6705, allocations: 40 kB / 0.8179 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.6707, allocations: 88.34 kB / 0.818 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01527/0.6859, allocations: 6.489 MB / 0.8244 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.686, allocations: 0 / 0.8244 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.686, allocations: 0 / 0.8244 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.686, allocations: 2.75 kB / 0.8244 GB, free: 0.7227 MB / 0.5919 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.003561/0.6896, allocations: 1.246 MB / 0.8256 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.6896, allocations: 10.69 kB / 0.8256 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.6897, allocations: 51.77 kB / 0.8256 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.6908, allocations: 84.61 kB / 0.8257 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.6912, allocations: 227.2 kB / 0.8259 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6912, allocations: 19.72 kB / 0.826 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.6912, allocations: 13.97 kB / 0.826 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.6924, allocations: 450.9 kB / 0.8264 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6924, allocations: 3.938 kB / 0.8264 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.6925, allocations: 6.719 kB / 0.8264 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6925, allocations: 6.719 kB / 0.8264 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.6937, allocations: 0.5976 MB / 0.827 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.6948, allocations: 0.8857 MB / 0.8279 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008745/0.6957, allocations: 255.1 kB / 0.8281 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.6959, allocations: 68.69 kB / 0.8282 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09164/0.7875, allocations: 35.43 MB / 0.8628 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.7876, allocations: 38.5 kB / 0.8628 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.7876, allocations: 0 / 0.8628 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001834/0.7894, allocations: 425.1 kB / 0.8632 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.7895, allocations: 55.41 kB / 0.8633 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.7896, allocations: 135.5 kB / 0.8634 GB, free: 8.188 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.7897, allocations: 33.7 kB / 0.8634 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.7898, allocations: 108.5 kB / 0.8635 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.7898, allocations: 90.27 kB / 0.8636 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.79, allocations: 77.67 kB / 0.8637 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7901, allocations: 330.8 kB / 0.864 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.7903, allocations: 83.95 kB / 0.8641 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.7905, allocations: 129 kB / 0.8642 GB, free: 7.312 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.791, allocations: 228.4 kB / 0.8644 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.791, allocations: 0 / 0.8644 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007542/0.7918, allocations: 297.3 kB / 0.8647 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7918, allocations: 9.562 kB / 0.8647 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7918, allocations: 0 / 0.8647 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.7918, allocations: 4 kB / 0.8647 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.7921, allocations: 80.03 kB / 0.8648 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.7921, allocations: 8 kB / 0.8648 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.7923, allocations: 23.78 kB / 0.8648 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.7924, allocations: 23.97 kB / 0.8648 GB, free: 6.633 MB / 0.6387 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.0001384/0.7925, allocations: 129.8 kB / 0.865 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.7927, allocations: 15.95 kB / 0.865 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.795, allocations: 2.346 MB / 0.8673 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.795, allocations: 15.98 kB / 0.8673 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7951, allocations: 4 kB / 0.8673 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.7951, allocations: 7.922 kB / 0.8673 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.7982, allocations: 3.418 MB / 0.8706 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.7982, allocations: 0 / 0.8706 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.7985, allocations: 55.89 kB / 0.8707 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7985, allocations: 0 / 0.8707 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.7985, allocations: 11.94 kB / 0.8707 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.7985, allocations: 0.875 kB / 0.8707 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7985, allocations: 0 / 0.8707 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007834/0.7993, allocations: 0.5537 MB / 0.8712 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.7995, allocations: 144.7 kB / 0.8714 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.7995, allocations: 7.938 kB / 0.8714 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.7997, allocations: 12 kB / 0.8714 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.7998, allocations: 19.97 kB / 0.8714 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.7998, allocations: 13.06 kB / 0.8714 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.7999, allocations: 107.2 kB / 0.8715 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7999, allocations: 4 kB / 0.8715 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004379/0.8043, allocations: 1.711 MB / 0.8732 GB, free: 13.91 MB / 0.6544 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.009349/0.8136, allocations: 2.938 MB / 0.8761 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006242/0.8143, allocations: 324.3 kB / 0.8764 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8143, allocations: 4 kB / 0.8764 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003164/0.8146, allocations: 240.5 kB / 0.8766 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.8152, allocations: 72.12 kB / 0.8767 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.8209, allocations: 3.1 MB / 0.8797 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.8212, allocations: 0.7661 MB / 0.8805 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005196/0.8217, allocations: 405.2 kB / 0.8809 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.8219, allocations: 95.38 kB / 0.8809 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.822, allocations: 3.938 kB / 0.881 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.9285, allocations: 63.14 MB / 0.9426 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.59, allocations: 6.609 kB / 0.9426 GB, free: 6.828 MB / 0.7169 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Examples_SteamProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)