Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example4,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8671/0.8671, allocations: 143.3 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 175.1 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.837/1.837, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 92.2 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 266.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.000485, allocations: 15.58 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1876, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.978/5.165, allocations: 1.912 GB / 2.685 GB, free: 115.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004384/5.166, allocations: 95.67 kB / 2.686 GB, free: 115.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.395/10.56, allocations: 1.472 GB / 4.157 GB, free: 16.69 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.583e-06/10.56, allocations: 0 / 4.157 GB, free: 16.69 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001267/10.56, allocations: 39.98 kB / 4.157 GB, free: 16.65 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006127/10.57, allocations: 2.145 MB / 4.159 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/10.57, allocations: 12.03 kB / 4.159 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003652/10.57, allocations: 152.2 kB / 4.159 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/10.57, allocations: 0.5054 MB / 4.16 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/10.57, allocations: 1.243 MB / 4.161 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008612/10.58, allocations: 277.8 kB / 4.161 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/10.58, allocations: 100 kB / 4.162 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/10.58, allocations: 1.324 MB / 4.163 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/10.58, allocations: 3.938 kB / 4.163 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.833e-05/10.58, allocations: 47.98 kB / 4.163 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/10.58, allocations: 45.98 kB / 4.163 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/10.58, allocations: 1.081 MB / 4.164 GB, free: 9.512 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007625/10.59, allocations: 6.643 MB / 4.17 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/10.59, allocations: 0.6323 MB / 4.171 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/10.59, allocations: 287.5 kB / 4.171 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/10.59, allocations: 42.84 kB / 4.171 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 4.268e-06/10.59, allocations: 0 / 4.171 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.002342/10.59, allocations: 0.8932 MB / 4.172 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/10.59, allocations: 55.41 kB / 4.172 GB, free: 436 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/10.59, allocations: 1.19 MB / 4.174 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/10.59, allocations: 37.7 kB / 4.174 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006247/10.6, allocations: 0.6794 MB / 4.174 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/10.6, allocations: 122.3 kB / 4.174 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/10.6, allocations: 12 kB / 4.174 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001519/10.6, allocations: 337.8 kB / 4.175 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008389/10.6, allocations: 325.1 kB / 4.175 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/10.6, allocations: 0.6706 MB / 4.176 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/10.6, allocations: 402.3 kB / 4.176 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/10.6, allocations: 4 kB / 4.176 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002905/10.6, allocations: 1.054 MB / 4.177 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.002212/10.6, allocations: 3.814 MB / 4.181 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/10.6, allocations: 12 kB / 4.181 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.886e-05/10.6, allocations: 12 kB / 4.181 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009811/10.6, allocations: 207.7 kB / 4.181 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.242e-05/10.6, allocations: 23.92 kB / 4.181 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/10.61, allocations: 238.7 kB / 4.181 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/10.61, allocations: 43.98 kB / 4.181 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/10.61, allocations: 4 kB / 4.181 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002224/10.61, allocations: 0.8979 MB / 4.182 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/10.61, allocations: 8 kB / 4.182 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/10.61, allocations: 16 kB / 4.182 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008751/10.61, allocations: 207.8 kB / 4.182 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/10.61, allocations: 15.94 kB / 4.182 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/10.61, allocations: 207 kB / 4.183 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/10.61, allocations: 39.98 kB / 4.183 GB, free: 5.465 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001143/10.61, allocations: 420.7 kB / 4.183 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/10.61, allocations: 134.3 kB / 4.183 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/10.62, allocations: 0.6831 MB / 4.184 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/10.62, allocations: 0 / 4.184 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/10.62, allocations: 4.188 kB / 4.184 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/10.62, allocations: 7.875 kB / 4.184 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004129/10.62, allocations: 1.925 MB / 4.186 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/10.62, allocations: 8.219 kB / 4.186 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/10.62, allocations: 107.9 kB / 4.186 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/10.62, allocations: 8 kB / 4.186 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/10.62, allocations: 15.98 kB / 4.186 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/10.62, allocations: 7.938 kB / 4.186 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/10.62, allocations: 7.938 kB / 4.186 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/10.62, allocations: 1.053 MB / 4.187 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007233/10.62, allocations: 287.2 kB / 4.187 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/10.62, allocations: 19.94 kB / 4.187 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/10.62, allocations: 115.8 kB / 4.187 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/10.62, allocations: 31.89 kB / 4.187 GB, free: 340 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/10.62, allocations: 23.94 kB / 4.187 GB, free: 316 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.5593/11.18, allocations: 0.9237 MB / 4.188 GB, free: 81.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.61e-07/11.18, allocations: 0 / 4.188 GB, free: 81.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003641/11.19, allocations: 0.8674 MB / 4.189 GB, free: 81.57 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006947/11.19, allocations: 5.644 MB / 4.195 GB, free: 78.37 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003039/11.2, allocations: 1.154 MB / 4.196 GB, free: 78.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/11.2, allocations: 3.844 kB / 4.196 GB, free: 78.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006536/11.2, allocations: 278.4 kB / 4.196 GB, free: 78.37 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/11.2, allocations: 0.613 MB / 4.197 GB, free: 78.36 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008377/11.21, allocations: 10.06 MB / 4.206 GB, free: 70.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/11.21, allocations: 1.205 MB / 4.208 GB, free: 69.36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002206/11.21, allocations: 356.1 kB / 4.208 GB, free: 69.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007511/11.21, allocations: 480.6 kB / 4.208 GB, free: 69.33 MB / 0.7448 GB Notification: Performance of SimCode: time 1.332e-06/11.21, allocations: 4 kB / 4.208 GB, free: 69.33 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/11.35, allocations: 75.75 MB / 4.282 GB, free: 67.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/11.35, allocations: 237.3 kB / 4.283 GB, free: 67.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.903/16.26, allocations: 0 / 4.283 GB, free: 67.23 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example4.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)