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.007839/0.007839, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001982/0.001982, allocations: 194.4 kB / 16.67 MB, free: 5.977 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002205/0.002205, allocations: 286.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.943/0.943, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 96.16 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1618, allocations: 86.98 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4647/0.6265, allocations: 136.1 MB / 0.8989 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02554/0.6521, allocations: 22.33 MB / 0.9207 GB, free: 4.645 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.6523, allocations: 0 / 0.9207 GB, free: 4.645 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.6526, allocations: 59.66 kB / 0.9207 GB, free: 4.586 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.653, allocations: 91.38 kB / 0.9208 GB, free: 4.496 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01621/0.6692, allocations: 6.702 MB / 0.9274 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0004082/0.6696, allocations: 251.9 kB / 0.9276 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.6697, allocations: 9.562 kB / 0.9276 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003554/0.67, allocations: 151.3 kB / 0.9277 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.6702, allocations: 91.66 kB / 0.9278 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.6702, allocations: 8 kB / 0.9278 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02004/0.6903, allocations: 10.97 MB / 0.9385 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.6904, allocations: 35.89 kB / 0.9386 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.6906, allocations: 79.66 kB / 0.9387 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.7037, allocations: 6.166 MB / 0.9447 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7037, allocations: 0 / 0.9447 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7037, allocations: 0 / 0.9447 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.7037, allocations: 0 / 0.9447 GB, free: 12.04 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.003211/0.7069, allocations: 1.23 MB / 0.9459 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.707, allocations: 16.03 kB / 0.9459 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.349e-05/0.707, allocations: 48.73 kB / 0.9459 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.7082, allocations: 84.77 kB / 0.946 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.7085, allocations: 228.3 kB / 0.9462 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.7086, allocations: 15.94 kB / 0.9463 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.7086, allocations: 12 kB / 0.9463 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.7098, allocations: 453.8 kB / 0.9467 GB, free: 9.852 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.7098, allocations: 3.938 kB / 0.9467 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.7099, allocations: 4 kB / 0.9467 GB, free: 9.844 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7099, allocations: 4 kB / 0.9467 GB, free: 9.84 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.7111, allocations: 0.597 MB / 0.9473 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.7122, allocations: 0.8823 MB / 0.9482 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.7131, allocations: 256.7 kB / 0.9484 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.7132, allocations: 80.33 kB / 0.9485 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09244/0.8056, allocations: 35.42 MB / 0.9831 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.8057, allocations: 42.56 kB / 0.9831 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.854e-06/0.8057, allocations: 0 / 0.9831 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001917/0.8077, allocations: 425.8 kB / 0.9835 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.8077, allocations: 55.41 kB / 0.9836 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.8079, allocations: 136.2 kB / 0.9837 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.8079, allocations: 29.7 kB / 0.9837 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.808, allocations: 116.5 kB / 0.9838 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.8081, allocations: 91.2 kB / 0.9839 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.8082, allocations: 77.67 kB / 0.984 GB, free: 428 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8084, allocations: 330.8 kB / 0.9843 GB, free: 88 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.8086, allocations: 79.94 kB / 0.9844 GB, free: 8 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.8088, allocations: 125.2 kB / 0.9845 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.8093, allocations: 228.2 kB / 0.9847 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.8093, allocations: 0 / 0.9847 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007402/0.81, allocations: 297.3 kB / 0.985 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.8101, allocations: 12.09 kB / 0.985 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.8101, allocations: 7.688 kB / 0.985 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.8101, allocations: 0 / 0.985 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.8104, allocations: 83.88 kB / 0.9851 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.8104, allocations: 0 / 0.9851 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.8106, allocations: 23.83 kB / 0.9851 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.8107, allocations: 27.97 kB / 0.9852 GB, free: 15.18 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.0001284/0.8108, allocations: 126.4 kB / 0.9853 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.811, allocations: 15.91 kB / 0.9853 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/0.8134, allocations: 2.347 MB / 0.9876 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.8134, allocations: 11.98 kB / 0.9876 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.8135, allocations: 0 / 0.9876 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.8135, allocations: 7.922 kB / 0.9876 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.8166, allocations: 3.423 MB / 0.991 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8166, allocations: 0 / 0.991 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.8169, allocations: 59.88 kB / 0.991 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.8169, allocations: 7.938 kB / 0.991 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.817, allocations: 11.94 kB / 0.991 GB, free: 9.039 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.817, allocations: 7.984 kB / 0.991 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.817, allocations: 0 / 0.991 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.8177, allocations: 0.5428 MB / 0.9916 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.8179, allocations: 140.7 kB / 0.9917 GB, free: 8.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.8179, allocations: 7.938 kB / 0.9917 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.8182, allocations: 15.98 kB / 0.9917 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.632e-05/0.8182, allocations: 19.97 kB / 0.9917 GB, free: 8.273 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.8182, allocations: 16 kB / 0.9918 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.368e-05/0.8183, allocations: 110.1 kB / 0.9919 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8183, allocations: 3.938 kB / 0.9919 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003818/0.8221, allocations: 1.641 MB / 0.9935 GB, free: 6.504 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.008809/0.831, allocations: 2.909 MB / 0.9963 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000628/0.8316, allocations: 320.6 kB / 0.9966 GB, free: 3.254 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8316, allocations: 4 kB / 0.9966 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.8319, allocations: 240.5 kB / 0.9968 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.8325, allocations: 61.06 kB / 0.9969 GB, free: 2.957 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.838, allocations: 3.07 MB / 0.9999 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.8383, allocations: 0.7661 MB / 1.001 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005379/0.8388, allocations: 409.1 kB / 1.001 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.839, allocations: 103.4 kB / 1.001 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of SimCode: time 6.71e-07/0.839, allocations: 0 / 1.001 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09325/0.9323, allocations: 60.79 MB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.18, allocations: 13.62 kB / 1.061 GB, free: 1.73 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)