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.004531/0.004531, allocations: 103.5 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.00111/0.00111, allocations: 189 kB / 16.67 MB, free: 5.961 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 289.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9377/0.9377, allocations: 169.2 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 95.84 kB / 0.681 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4229, allocations: 86.98 MB / 0.7659 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1411/0.564, allocations: 136.1 MB / 0.8989 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02585/0.5899, allocations: 22.35 MB / 0.9207 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001749/0.5901, allocations: 0 / 0.9207 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.5905, allocations: 43.69 kB / 0.9207 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.591, allocations: 95.36 kB / 0.9208 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.608, allocations: 6.675 MB / 0.9273 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.6085, allocations: 251.9 kB / 0.9276 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.6085, allocations: 13.56 kB / 0.9276 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003427/0.6089, allocations: 143.4 kB / 0.9277 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.609, allocations: 87.66 kB / 0.9278 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.6091, allocations: 8 kB / 0.9278 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02112/0.6302, allocations: 10.96 MB / 0.9385 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.6303, allocations: 35.89 kB / 0.9385 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.6305, allocations: 87.64 kB / 0.9386 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.6434, allocations: 6.148 MB / 0.9446 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6434, allocations: 4 kB / 0.9446 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.664e-06/0.6434, allocations: 0 / 0.9446 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.6435, allocations: 0 / 0.9446 GB, free: 12.26 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.003052/0.6465, allocations: 1.182 MB / 0.9458 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.6466, allocations: 8.031 kB / 0.9458 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.6466, allocations: 58.67 kB / 0.9459 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.6477, allocations: 84.66 kB / 0.9459 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.6479, allocations: 224 kB / 0.9462 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.648, allocations: 23.94 kB / 0.9462 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.648, allocations: 12 kB / 0.9462 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.6492, allocations: 461.6 kB / 0.9466 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.6492, allocations: 0 / 0.9466 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.6492, allocations: 8 kB / 0.9466 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6493, allocations: 4 kB / 0.9466 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6504, allocations: 0.5931 MB / 0.9472 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.6516, allocations: 0.8822 MB / 0.9481 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.6524, allocations: 250.3 kB / 0.9483 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.6525, allocations: 72.84 kB / 0.9484 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4483/1.101, allocations: 35.42 MB / 0.983 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.101, allocations: 36.81 kB / 0.983 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/1.101, allocations: 8 kB / 0.983 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001483/1.102, allocations: 419.1 kB / 0.9834 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/1.102, allocations: 57.19 kB / 0.9835 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/1.103, allocations: 143.8 kB / 0.9836 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/1.103, allocations: 33.7 kB / 0.9836 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/1.103, allocations: 106.5 kB / 0.9837 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/1.103, allocations: 85.2 kB / 0.9838 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-05/1.103, allocations: 73.67 kB / 0.9839 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.285e-05/1.103, allocations: 326.8 kB / 0.9842 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.103, allocations: 83.94 kB / 0.9843 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/1.103, allocations: 126.2 kB / 0.9844 GB, free: 163.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/1.103, allocations: 219.9 kB / 0.9846 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.103, allocations: 3.094 kB / 0.9846 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005798/1.104, allocations: 305.7 kB / 0.9849 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.104, allocations: 8 kB / 0.9849 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.104, allocations: 0 / 0.9849 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.104, allocations: 4 kB / 0.9849 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/1.104, allocations: 84.03 kB / 0.985 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.104, allocations: 10.62 kB / 0.985 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/1.105, allocations: 19.78 kB / 0.985 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/1.105, allocations: 23.97 kB / 0.9851 GB, free: 163 MB / 0.7169 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 8.848e-05/1.105, allocations: 129.8 kB / 0.9852 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.105, allocations: 19.81 kB / 0.9852 GB, free: 162.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/1.106, allocations: 2.337 MB / 0.9875 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/1.106, allocations: 19.69 kB / 0.9875 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.106, allocations: 7.938 kB / 0.9875 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/1.106, allocations: 0 / 0.9875 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/1.109, allocations: 3.421 MB / 0.9908 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.109, allocations: 0 / 0.9908 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/1.109, allocations: 63.81 kB / 0.9909 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/1.109, allocations: 0 / 0.9909 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/1.109, allocations: 8 kB / 0.9909 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.109, allocations: 3.984 kB / 0.9909 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.109, allocations: 0 / 0.9909 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/1.11, allocations: 0.5505 MB / 0.9915 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/1.11, allocations: 148.3 kB / 0.9916 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/1.11, allocations: 7.984 kB / 0.9916 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/1.11, allocations: 12 kB / 0.9916 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/1.11, allocations: 15.97 kB / 0.9916 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/1.11, allocations: 12 kB / 0.9916 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.675e-05/1.11, allocations: 110.1 kB / 0.9918 GB, free: 156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.11, allocations: 4 kB / 0.9918 GB, free: 156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003724/1.114, allocations: 1.622 MB / 0.9933 GB, free: 154.5 MB / 0.7169 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.007825/1.122, allocations: 2.886 MB / 0.9962 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006443/1.122, allocations: 322.7 kB / 0.9965 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.122, allocations: 4 kB / 0.9965 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/1.123, allocations: 236.8 kB / 0.9967 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/1.123, allocations: 66.09 kB / 0.9968 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/1.128, allocations: 3.052 MB / 0.9997 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/1.128, allocations: 0.7661 MB / 1 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004067/1.128, allocations: 413.1 kB / 1.001 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/1.128, allocations: 99.38 kB / 1.001 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/1.128, allocations: 0 / 1.001 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07499/1.203, allocations: 60.93 MB / 1.06 GB, free: 85.94 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/12.04, allocations: 16.67 kB / 1.06 GB, free: 85.93 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)