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.005931/0.005931, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.00137/0.00137, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 283 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.9366/0.9366, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 99.84 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1635, allocations: 86.97 MB / 0.7664 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5826/0.7462, allocations: 237.5 MB / 0.9983 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02095/0.7672, allocations: 15.79 MB / 1.014 GB, free: 5.234 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.7691, allocations: 59.62 kB / 1.014 GB, free: 5.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.7719, allocations: 1.041 MB / 1.015 GB, free: 4.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00732/0.7792, allocations: 2.974 MB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004053/0.7833, allocations: 1.684 MB / 1.019 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004317/0.7876, allocations: 3.434 MB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.7892, allocations: 1.287 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0052/0.7944, allocations: 2.497 MB / 1.026 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.7962, allocations: 1.079 MB / 1.027 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.7964, allocations: 120 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005238/0.8016, allocations: 3.094 MB / 1.031 GB, free: 3.938 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004446/0.8021, allocations: 482.4 kB / 1.031 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008822/0.803, allocations: 0.8085 MB / 1.032 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004396/0.8074, allocations: 2.99 MB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8074, allocations: 3.984 kB / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8074, allocations: 0 / 1.035 GB, free: 15.65 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.8074, allocations: 0 / 1.035 GB, free: 15.65 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.003248/0.8107, allocations: 2.064 MB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.8107, allocations: 8.031 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.8134, allocations: 0.5024 MB / 1.037 GB, free: 13.01 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/0.8157, allocations: 1.177 MB / 1.038 GB, free: 11.78 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.389e-05/0.8158, allocations: 74 kB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.8159, allocations: 99.98 kB / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.8182, allocations: 1.354 MB / 1.04 GB, free: 10.14 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.8182, allocations: 3.938 kB / 1.04 GB, free: 10.13 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.762e-05/0.8183, allocations: 51.94 kB / 1.04 GB, free: 10.08 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.175e-05/0.8184, allocations: 42 kB / 1.04 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.8207, allocations: 1.054 MB / 1.041 GB, free: 8.984 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.007996/0.8287, allocations: 7.408 MB / 1.048 GB, free: 1.102 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/0.8302, allocations: 0.5425 MB / 1.049 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005838/0.8308, allocations: 257.2 kB / 1.049 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003614/0.8312, allocations: 275.6 kB / 1.049 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.8312, allocations: 46.77 kB / 1.049 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.8312, allocations: 0 / 1.049 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002254/0.8335, allocations: 0.8452 MB / 1.05 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.8335, allocations: 59.41 kB / 1.05 GB, free: 15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.8352, allocations: 1.387 MB / 1.052 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.8353, allocations: 33.7 kB / 1.052 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/0.8358, allocations: 0.7157 MB / 1.052 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.8359, allocations: 131 kB / 1.052 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.8362, allocations: 170.5 kB / 1.053 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8363, allocations: 330 kB / 1.053 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.8371, allocations: 316.6 kB / 1.053 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.8382, allocations: 0.6852 MB / 1.054 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.8399, allocations: 0.9347 MB / 1.055 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.8399, allocations: 0 / 1.055 GB, free: 9.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002264/0.8422, allocations: 1.066 MB / 1.056 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.8422, allocations: 8 kB / 1.056 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.8422, allocations: 12 kB / 1.056 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.8422, allocations: 16 kB / 1.056 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.8431, allocations: 204.1 kB / 1.056 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/0.8431, allocations: 23.92 kB / 1.056 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.8444, allocations: 179.1 kB / 1.056 GB, free: 8.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.081e-05/0.8445, allocations: 43.98 kB / 1.056 GB, free: 8.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.8456, allocations: 0.5643 MB / 1.057 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001071/0.8467, allocations: 0.6853 MB / 1.058 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001791/0.8485, allocations: 0.9332 MB / 1.058 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-05/0.8486, allocations: 5.562 kB / 1.058 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002471/0.851, allocations: 1.044 MB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.8511, allocations: 15.94 kB / 1.06 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.8511, allocations: 15.98 kB / 1.06 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.8511, allocations: 24 kB / 1.06 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.8519, allocations: 203.7 kB / 1.06 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.137e-05/0.852, allocations: 23.88 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.8533, allocations: 139.5 kB / 1.06 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.29e-05/0.8534, allocations: 39.98 kB / 1.06 GB, free: 4.359 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.0002996/0.8537, allocations: 232.6 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/0.8539, allocations: 151 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.8556, allocations: 0.6453 MB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.8556, allocations: 4 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.8556, allocations: 4 kB / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8556, allocations: 0 / 1.061 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003522/0.8591, allocations: 1.889 MB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.8591, allocations: 4 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.8596, allocations: 91.86 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.8597, allocations: 12.09 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.8597, allocations: 19.92 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.8597, allocations: 7.938 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8597, allocations: 4 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.8612, allocations: 0.82 MB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.8618, allocations: 303.8 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.862, allocations: 12 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.863, allocations: 71.92 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.8631, allocations: 31.84 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.8631, allocations: 19.98 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001495/0.8646, allocations: 1.013 MB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.8647, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001823/0.8665, allocations: 0.5813 MB / 1.066 GB, free: 14.25 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.0005766/0.8671, allocations: 257.4 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002836/0.8699, allocations: 1.125 MB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8699, allocations: 4.25 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006534/0.8706, allocations: 254.4 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.8738, allocations: 0.7496 MB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.8785, allocations: 2.274 MB / 1.07 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/0.8793, allocations: 1.182 MB / 1.071 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0013/0.8806, allocations: 387.8 kB / 1.072 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/0.8809, allocations: 103.4 kB / 1.072 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.8809, allocations: 0 / 1.072 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of Templates: time 0.3249/1.206, allocations: 25.19 MB / 1.096 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)