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/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: translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004908/0.004908, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001023/0.001023, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002018, allocations: 294.9 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1722, allocations: 86.98 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.6181/0.7904, allocations: 237.5 MB / 0.9983 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01999/0.8104, allocations: 15.79 MB / 1.014 GB, free: 5.23 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002121/0.8126, allocations: 63.62 kB / 1.014 GB, free: 5.168 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.8153, allocations: 1.041 MB / 1.015 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007527/0.8229, allocations: 2.979 MB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.827, allocations: 1.679 MB / 1.019 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004577/0.8316, allocations: 3.438 MB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.8333, allocations: 1.283 MB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005768/0.8391, allocations: 2.494 MB / 1.026 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.8412, allocations: 1.074 MB / 1.027 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002394/0.8415, allocations: 116 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005708/0.8472, allocations: 3.102 MB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.8477, allocations: 486.4 kB / 1.031 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009824/0.8487, allocations: 0.8007 MB / 1.032 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.005191/0.8539, allocations: 2.972 MB / 1.035 GB, free: 15.67 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.854, allocations: 4 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.285e-06/0.854, allocations: 0 / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.147e-05/0.854, allocations: 0 / 1.035 GB, free: 15.66 MB / 0.795 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.003989/0.858, allocations: 2.009 MB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.8581, allocations: 12.03 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002804/0.8609, allocations: 0.4946 MB / 1.037 GB, free: 13.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.8633, allocations: 1.177 MB / 1.038 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.8634, allocations: 74 kB / 1.038 GB, free: 11.79 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.8635, allocations: 100 kB / 1.039 GB, free: 11.69 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.8659, allocations: 1.346 MB / 1.04 GB, free: 10.22 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.8659, allocations: 7.938 kB / 1.04 GB, free: 10.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.425e-05/0.866, allocations: 40 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.085e-05/0.8661, allocations: 53.92 kB / 1.04 GB, free: 10.12 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.8684, allocations: 1.054 MB / 1.041 GB, free: 9.066 MB / 0.795 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.007905/0.8763, allocations: 7.392 MB / 1.048 GB, free: 1.199 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.8779, allocations: 0.5291 MB / 1.049 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006147/0.8785, allocations: 261.2 kB / 1.049 GB, free: 416 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.8789, allocations: 287.5 kB / 1.049 GB, free: 72 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.8789, allocations: 46.72 kB / 1.049 GB, free: 16 kB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.8789, allocations: 0 / 1.049 GB, free: 16 kB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002312/0.8812, allocations: 0.8328 MB / 1.05 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.8813, allocations: 55.41 kB / 1.05 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.8831, allocations: 1.395 MB / 1.052 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.8832, allocations: 33.7 kB / 1.052 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005247/0.8837, allocations: 0.7065 MB / 1.052 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.8839, allocations: 118.3 kB / 1.052 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.8841, allocations: 166.4 kB / 1.053 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8843, allocations: 330 kB / 1.053 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008069/0.8851, allocations: 316.6 kB / 1.053 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.8862, allocations: 0.6891 MB / 1.054 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.8879, allocations: 0.9308 MB / 1.055 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.888, allocations: 8 kB / 1.055 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002313/0.8903, allocations: 1.046 MB / 1.056 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.8903, allocations: 12 kB / 1.056 GB, free: 9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.8903, allocations: 12 kB / 1.056 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.8904, allocations: 16 kB / 1.056 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008421/0.8912, allocations: 212.3 kB / 1.056 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.8912, allocations: 23.92 kB / 1.056 GB, free: 8.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.8925, allocations: 174.8 kB / 1.056 GB, free: 8.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/0.8926, allocations: 47.98 kB / 1.056 GB, free: 8.523 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001186/0.8938, allocations: 0.5643 MB / 1.057 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001082/0.8949, allocations: 0.6852 MB / 1.057 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001685/0.8966, allocations: 0.9332 MB / 1.058 GB, free: 6 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.962e-06/0.8966, allocations: 4 kB / 1.058 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002256/0.8988, allocations: 1.035 MB / 1.059 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8989, allocations: 18.75 kB / 1.059 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.8989, allocations: 12 kB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.8989, allocations: 19.98 kB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.8997, allocations: 203.6 kB / 1.06 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/0.8997, allocations: 29.48 kB / 1.06 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.9009, allocations: 137.1 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.798e-05/0.901, allocations: 43.98 kB / 1.06 GB, free: 4.504 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0002223/0.9012, allocations: 228.7 kB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.9014, allocations: 142.2 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.9031, allocations: 0.6493 MB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9031, allocations: 3.984 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9031, allocations: 0 / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9031, allocations: 7.984 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.9064, allocations: 1.882 MB / 1.063 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/0.9065, allocations: 4 kB / 1.063 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.9069, allocations: 88.02 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.907, allocations: 11.94 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.907, allocations: 19.88 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.907, allocations: 7.984 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.907, allocations: 4 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.9085, allocations: 0.8113 MB / 1.064 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.909, allocations: 303 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.9092, allocations: 15.94 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009663/0.9101, allocations: 67.92 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.9102, allocations: 39.89 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.9103, allocations: 19.98 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001406/0.9117, allocations: 1.005 MB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9117, allocations: 0 / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001722/0.9134, allocations: 0.5735 MB / 1.066 GB, free: 14.43 MB / 0.8262 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 (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.0005399/0.914, allocations: 272.4 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002749/0.9168, allocations: 1.125 MB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.9168, allocations: 0 / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.9175, allocations: 250.5 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003294/0.9208, allocations: 0.7509 MB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0047/0.9255, allocations: 2.234 MB / 1.07 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/0.9263, allocations: 1.182 MB / 1.071 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001301/0.9276, allocations: 391.8 kB / 1.072 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.9278, allocations: 95.42 kB / 1.072 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.9279, allocations: 0 / 1.072 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of Templates: time 0.3941/1.322, allocations: 25.58 MB / 1.097 GB, free: 290.7 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)