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.6766/0.6766, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009888/0.0009889, allocations: 178.8 kB / 187.3 MB, free: 11.89 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.201/1.201, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.0007688/0.0007687, allocations: 100.1 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001622/0.001622, allocations: 279.7 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.145e-05, allocations: 11.97 kB / 0.6835 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3151, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.213/3.528, allocations: 1.912 GB / 2.676 GB, free: 134 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/3.528, allocations: 81.64 kB / 2.676 GB, free: 133.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.131/7.659, allocations: 1.47 GB / 4.146 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/7.659, allocations: 0 / 4.146 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.105e-05/7.659, allocations: 32 kB / 4.146 GB, free: 11.61 MB / 0.7448 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.003592/7.663, allocations: 1.898 MB / 4.148 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/7.663, allocations: 11.97 kB / 4.148 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/7.663, allocations: 156.2 kB / 4.149 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/7.665, allocations: 0.5016 MB / 4.149 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002283/7.668, allocations: 1.224 MB / 4.15 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008803/7.668, allocations: 277.8 kB / 4.15 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/7.669, allocations: 104 kB / 4.151 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/7.67, allocations: 1.196 MB / 4.152 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/7.67, allocations: 3.938 kB / 4.152 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/7.67, allocations: 44 kB / 4.152 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.626e-05/7.67, allocations: 42 kB / 4.152 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/7.672, allocations: 0.8353 MB / 4.153 GB, free: 5.113 MB / 0.7448 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.3657/8.037, allocations: 6.636 MB / 4.159 GB, free: 82.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/8.038, allocations: 428.7 kB / 4.16 GB, free: 82.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/8.039, allocations: 189.9 kB / 4.16 GB, free: 82.05 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/8.039, allocations: 287 kB / 4.16 GB, free: 81.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/8.039, allocations: 39.34 kB / 4.16 GB, free: 81.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 2.305e-06/8.039, allocations: 0.5312 kB / 4.16 GB, free: 81.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.001105/8.04, allocations: 0.4991 MB / 4.16 GB, free: 81.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/8.04, allocations: 59.61 kB / 4.161 GB, free: 81.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/8.042, allocations: 1.137 MB / 4.162 GB, free: 81.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/8.042, allocations: 36.12 kB / 4.162 GB, free: 81.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/8.042, allocations: 0.6811 MB / 4.162 GB, free: 81.22 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/8.042, allocations: 121.1 kB / 4.162 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/8.042, allocations: 13.62 kB / 4.162 GB, free: 81.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.652e-05/8.042, allocations: 332.3 kB / 4.163 GB, free: 80.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/8.043, allocations: 206 kB / 4.163 GB, free: 80.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/8.043, allocations: 0.5603 MB / 4.164 GB, free: 80.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/8.044, allocations: 285.5 kB / 4.164 GB, free: 80.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/8.044, allocations: 3.125 kB / 4.164 GB, free: 80.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001261/8.045, allocations: 0.8161 MB / 4.165 GB, free: 80.33 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004879/8.046, allocations: 3.814 MB / 4.168 GB, free: 76.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/8.046, allocations: 11.81 kB / 4.168 GB, free: 76.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/8.046, allocations: 19.03 kB / 4.168 GB, free: 76.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/8.046, allocations: 208.2 kB / 4.169 GB, free: 76.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/8.046, allocations: 19.61 kB / 4.169 GB, free: 76.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/8.048, allocations: 245.1 kB / 4.169 GB, free: 76.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.341e-05/8.048, allocations: 40.11 kB / 4.169 GB, free: 76.4 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.482e-06/8.048, allocations: 2.469 kB / 4.169 GB, free: 76.4 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000882/8.049, allocations: 0.6676 MB / 4.17 GB, free: 76.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/8.049, allocations: 11.44 kB / 4.17 GB, free: 76.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/8.049, allocations: 13.09 kB / 4.17 GB, free: 76.39 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007325/8.05, allocations: 204.8 kB / 4.17 GB, free: 76.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/8.05, allocations: 21.02 kB / 4.17 GB, free: 76.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/8.051, allocations: 205.9 kB / 4.17 GB, free: 76.37 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-05/8.051, allocations: 39.88 kB / 4.17 GB, free: 76.37 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 () * 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.000142/8.051, allocations: 155.3 kB / 4.17 GB, free: 76.26 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/8.051, allocations: 137.8 kB / 4.17 GB, free: 76.19 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000867/8.052, allocations: 0.5219 MB / 4.171 GB, free: 76.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/8.052, allocations: 6.594 kB / 4.171 GB, free: 76.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/8.052, allocations: 1.406 kB / 4.171 GB, free: 76.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/8.052, allocations: 0.7188 kB / 4.171 GB, free: 76.13 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/8.054, allocations: 1.76 MB / 4.173 GB, free: 75.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/8.054, allocations: 3.406 kB / 4.173 GB, free: 75.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/8.055, allocations: 108 kB / 4.173 GB, free: 75.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/8.055, allocations: 7.906 kB / 4.173 GB, free: 75.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/8.055, allocations: 13.16 kB / 4.173 GB, free: 75.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/8.055, allocations: 6.719 kB / 4.173 GB, free: 75.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/8.055, allocations: 3.625 kB / 4.173 GB, free: 75.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/8.055, allocations: 0.8815 MB / 4.174 GB, free: 75.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/8.056, allocations: 293 kB / 4.174 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/8.056, allocations: 11.28 kB / 4.174 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/8.057, allocations: 115.8 kB / 4.174 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/8.057, allocations: 31.08 kB / 4.174 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/8.057, allocations: 26.44 kB / 4.174 GB, free: 74.88 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008382/8.058, allocations: 0.8769 MB / 4.175 GB, free: 74.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.21e-07/8.058, allocations: 0 / 4.175 GB, free: 74.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002114/8.06, allocations: 0.8723 MB / 4.176 GB, free: 74.73 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 () * 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.004042/8.064, allocations: 5.491 MB / 4.181 GB, free: 71.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001148/8.065, allocations: 0.8781 MB / 4.182 GB, free: 71.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/8.065, allocations: 0 / 4.182 GB, free: 71.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/8.065, allocations: 189.9 kB / 4.182 GB, free: 71.42 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/8.068, allocations: 0.6158 MB / 4.183 GB, free: 71.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/8.071, allocations: 1.967 MB / 4.185 GB, free: 70.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/8.072, allocations: 1.211 MB / 4.186 GB, free: 70.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00162/8.073, allocations: 475.3 kB / 4.186 GB, free: 70.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/8.074, allocations: 459.8 kB / 4.187 GB, free: 70.05 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/8.074, allocations: 0 / 4.187 GB, free: 70.05 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09792/8.172, allocations: 85.58 MB / 4.27 GB, free: 67.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/8.172, allocations: 202.9 kB / 4.27 GB, free: 67.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.347/12.52, allocations: 0 / 4.27 GB, free: 67.41 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)