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.9916/0.9916, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001207/0.001207, allocations: 176.9 kB / 182.2 MB, free: 9.438 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.52/1.52, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.000971/0.0009708, allocations: 88.05 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 274.2 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.273e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4561, allocations: 82.77 MB / 0.7574 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.513/4.969, allocations: 1.911 GB / 2.668 GB, free: 146.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/4.97, allocations: 83.95 kB / 2.669 GB, free: 146.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.162/10.13, allocations: 1.455 GB / 4.123 GB, free: 37.26 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.294e-06/10.13, allocations: 0 / 4.123 GB, free: 37.26 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001097/10.13, allocations: 39.98 kB / 4.123 GB, free: 37.22 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.004547/10.14, allocations: 1.904 MB / 4.125 GB, free: 35.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/10.14, allocations: 12.03 kB / 4.125 GB, free: 35.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/10.14, allocations: 0.5055 MB / 4.126 GB, free: 34.75 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/10.14, allocations: 1.224 MB / 4.127 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008428/10.14, allocations: 237.8 kB / 4.127 GB, free: 33.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/10.14, allocations: 60 kB / 4.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001189/10.14, allocations: 0.7069 MB / 4.128 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/10.15, allocations: 1.052 MB / 4.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/10.15, allocations: 7.938 kB / 4.129 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/10.15, allocations: 4 kB / 4.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-05/10.15, allocations: 41.98 kB / 4.129 GB, free: 31.27 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.006208/10.15, allocations: 6.397 MB / 4.135 GB, free: 24.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/10.15, allocations: 462.9 kB / 4.136 GB, free: 23.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/10.15, allocations: 181.3 kB / 4.136 GB, free: 23.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/10.15, allocations: 287.5 kB / 4.136 GB, free: 23.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/10.15, allocations: 42.81 kB / 4.136 GB, free: 23.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/10.15, allocations: 0 / 4.136 GB, free: 23.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.001053/10.15, allocations: 490.5 kB / 4.137 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/10.15, allocations: 59.41 kB / 4.137 GB, free: 22.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008871/10.16, allocations: 0.8227 MB / 4.137 GB, free: 22.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/10.16, allocations: 29.7 kB / 4.137 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/10.16, allocations: 0.7009 MB / 4.138 GB, free: 21.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.811e-05/10.16, allocations: 114.3 kB / 4.138 GB, free: 21.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.568e-05/10.16, allocations: 0 / 4.138 GB, free: 21.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.049e-05/10.16, allocations: 333.9 kB / 4.139 GB, free: 20.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/10.16, allocations: 185.5 kB / 4.139 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/10.16, allocations: 0.5568 MB / 4.139 GB, free: 19.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/10.16, allocations: 306 kB / 4.14 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/10.16, allocations: 0 / 4.14 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001045/10.16, allocations: 0.7504 MB / 4.14 GB, free: 18.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008556/10.16, allocations: 4.096 MB / 4.144 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/10.16, allocations: 8 kB / 4.144 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/10.16, allocations: 16 kB / 4.144 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007913/10.16, allocations: 211.7 kB / 4.144 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/10.16, allocations: 23.92 kB / 4.145 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/10.16, allocations: 179.1 kB / 4.145 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/10.16, allocations: 47.92 kB / 4.145 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/10.16, allocations: 4 kB / 4.145 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009079/10.16, allocations: 0.6012 MB / 4.145 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/10.16, allocations: 8 kB / 4.145 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/10.16, allocations: 20 kB / 4.145 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007454/10.16, allocations: 216.1 kB / 4.146 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/10.16, allocations: 27.92 kB / 4.146 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009572/10.16, allocations: 143.4 kB / 4.146 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/10.16, allocations: 39.98 kB / 4.146 GB, free: 12.91 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001645/10.16, allocations: 132.7 kB / 4.146 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006543/10.16, allocations: 448 kB / 4.146 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/10.17, allocations: 114.5 kB / 4.146 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009004/10.17, allocations: 489.9 kB / 4.147 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/10.17, allocations: 4 kB / 4.147 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/10.17, allocations: 4 kB / 4.147 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/10.17, allocations: 3.984 kB / 4.147 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/10.17, allocations: 1.654 MB / 4.149 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/10.17, allocations: 4 kB / 4.149 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004765/10.17, allocations: 104.3 kB / 4.149 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/10.17, allocations: 8 kB / 4.149 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/10.17, allocations: 11.95 kB / 4.149 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/10.17, allocations: 15.94 kB / 4.149 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/10.17, allocations: 4 kB / 4.149 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007482/10.17, allocations: 0.8238 MB / 4.149 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/10.17, allocations: 259.7 kB / 4.15 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/10.17, allocations: 7.984 kB / 4.15 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008969/10.17, allocations: 103.9 kB / 4.15 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/10.17, allocations: 35.84 kB / 4.15 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/10.17, allocations: 27.97 kB / 4.15 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006882/10.17, allocations: 0.6124 MB / 4.15 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/10.17, allocations: 0 / 4.15 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002738/10.17, allocations: 0.8146 MB / 4.151 GB, free: 6.973 MB / 0.7292 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 () * 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.005445/10.18, allocations: 5.771 MB / 4.157 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001391/10.18, allocations: 0.7952 MB / 4.158 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/10.18, allocations: 1.625 kB / 4.158 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/10.18, allocations: 176.2 kB / 4.158 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/10.18, allocations: 398.9 kB / 4.158 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/10.19, allocations: 1.889 MB / 4.16 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008747/10.19, allocations: 1.212 MB / 4.161 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001818/10.19, allocations: 380 kB / 4.162 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/10.19, allocations: 455.3 kB / 4.162 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of SimCode: time 1.312e-06/10.19, allocations: 0 / 4.162 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6302/10.82, allocations: 48.15 MB / 4.209 GB, free: 85.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/10.82, allocations: 174 kB / 4.209 GB, free: 85.23 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.827/14.65, allocations: 0 / 4.209 GB, free: 85.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)