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.007279/0.007279, allocations: 99.55 kB / 15.73 MB, free: 6.445 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.001914/0.001914, allocations: 195.4 kB / 16.67 MB, free: 6.352 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002515/0.002515, allocations: 274.5 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 99.84 kB / 0.6943 GB, free: 3.609 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4381, allocations: 89.14 MB / 0.7813 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.158/0.5962, allocations: 136.1 MB / 0.9143 GB, free: 6.715 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02897/0.6252, allocations: 22.69 MB / 0.9364 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.6253, allocations: 0 / 0.9364 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.6257, allocations: 43.67 kB / 0.9365 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0003491/0.6261, allocations: 95.42 kB / 0.9366 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01902/0.6451, allocations: 6.937 MB / 0.9433 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.6455, allocations: 251.9 kB / 0.9436 GB, free: 8.645 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.6456, allocations: 17.55 kB / 0.9436 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.6459, allocations: 151.4 kB / 0.9437 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.6461, allocations: 87.61 kB / 0.9438 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.6461, allocations: 8 kB / 0.9438 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02205/0.6682, allocations: 11.63 MB / 0.9552 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.6683, allocations: 43.83 kB / 0.9552 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.6685, allocations: 83.64 kB / 0.9553 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.6814, allocations: 6.482 MB / 0.9616 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6814, allocations: 0 / 0.9616 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6814, allocations: 0 / 0.9616 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.6814, allocations: 4 kB / 0.9616 GB, free: 6.109 MB / 0.7169 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.00286/0.6843, allocations: 1.242 MB / 0.9628 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6843, allocations: 8.031 kB / 0.9629 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.6844, allocations: 50.73 kB / 0.9629 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.6855, allocations: 88.75 kB / 0.963 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.6858, allocations: 220.1 kB / 0.9632 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.6858, allocations: 15.94 kB / 0.9632 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.6858, allocations: 12 kB / 0.9632 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.687, allocations: 460.6 kB / 0.9637 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.687, allocations: 3.938 kB / 0.9637 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.687, allocations: 12 kB / 0.9637 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.6871, allocations: 4 kB / 0.9637 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.6883, allocations: 0.597 MB / 0.9643 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.6894, allocations: 0.8901 MB / 0.9651 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/0.6903, allocations: 246.4 kB / 0.9654 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.6904, allocations: 72.83 kB / 0.9654 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1022/0.7927, allocations: 35.44 MB / 1 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.7927, allocations: 31.22 kB / 1 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.7927, allocations: 0 / 1 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of matching and sorting (n=25): time 0.001798/0.7946, allocations: 424.2 kB / 1 GB, free: 11 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.7946, allocations: 55.41 kB / 1.001 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.7948, allocations: 139.8 kB / 1.001 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.7948, allocations: 37.7 kB / 1.001 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 8.139e-05/0.7949, allocations: 112.5 kB / 1.001 GB, free: 10.63 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/0.795, allocations: 91.2 kB / 1.001 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.7951, allocations: 81.66 kB / 1.001 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.7953, allocations: 322.8 kB / 1.001 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.7955, allocations: 83.89 kB / 1.001 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.7957, allocations: 130.3 kB / 1.001 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/0.7962, allocations: 212.8 kB / 1.002 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7962, allocations: 0 / 1.002 GB, free: 9.68 MB / 0.7637 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000792/0.797, allocations: 305.2 kB / 1.002 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.7971, allocations: 8 kB / 1.002 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7971, allocations: 0 / 1.002 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.7971, allocations: 4 kB / 1.002 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.7974, allocations: 83.88 kB / 1.002 GB, free: 9.281 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.7974, allocations: 3.984 kB / 1.002 GB, free: 9.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.7976, allocations: 23.83 kB / 1.002 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.7976, allocations: 19.98 kB / 1.002 GB, free: 9.234 MB / 0.7637 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.0001326/0.7977, allocations: 129.9 kB / 1.002 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.7979, allocations: 15.91 kB / 1.002 GB, free: 9.082 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.8006, allocations: 2.35 MB / 1.005 GB, free: 6.719 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.8006, allocations: 11.98 kB / 1.005 GB, free: 6.707 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8007, allocations: 4 kB / 1.005 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.8007, allocations: 7.922 kB / 1.005 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.8043, allocations: 3.423 MB / 1.008 GB, free: 3.164 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8043, allocations: 7.938 kB / 1.008 GB, free: 3.156 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.8046, allocations: 51.95 kB / 1.008 GB, free: 3.105 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.298e-06/0.8046, allocations: 3.938 kB / 1.008 GB, free: 3.102 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.8047, allocations: 8 kB / 1.008 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.8047, allocations: 3.984 kB / 1.008 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8047, allocations: 0 / 1.008 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008438/0.8055, allocations: 0.5428 MB / 1.009 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.8057, allocations: 148.7 kB / 1.009 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.8057, allocations: 11.88 kB / 1.009 GB, free: 2.352 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.8059, allocations: 15.98 kB / 1.009 GB, free: 2.336 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.806, allocations: 19.98 kB / 1.009 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.806, allocations: 15.98 kB / 1.009 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 8.723e-05/0.8061, allocations: 105.3 kB / 1.009 GB, free: 2.199 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8061, allocations: 0 / 1.009 GB, free: 2.199 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004023/0.8102, allocations: 1.711 MB / 1.01 GB, free: 496 kB / 0.7637 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.008137/0.8183, allocations: 2.941 MB / 1.013 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006671/0.819, allocations: 320.3 kB / 1.014 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.819, allocations: 0 / 1.014 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.8193, allocations: 244 kB / 1.014 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.8199, allocations: 69.67 kB / 1.014 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/0.8251, allocations: 3.092 MB / 1.017 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.8255, allocations: 0.7622 MB / 1.018 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006031/0.8261, allocations: 405.2 kB / 1.018 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.8264, allocations: 103.4 kB / 1.018 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of SimCode: time 6.62e-07/0.8264, allocations: 0 / 1.018 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3956/1.222, allocations: 63.15 MB / 1.08 GB, free: 270 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/13, allocations: 3 kB / 1.08 GB, free: 270 MB / 0.8262 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)