Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 112.2 kB / 16.42 MB, free: 6.445 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.001163/0.001163, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 286.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9591/0.9591, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 91.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3795, allocations: 86.97 MB / 0.7671 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly): time 0.597/0.9766, allocations: 265.6 MB / 1.026 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02609/1.003, allocations: 21.58 MB / 1.048 GB, free: 488 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004472/1.007, allocations: 116 kB / 1.048 GB, free: 488 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004281/1.012, allocations: 1.745 MB / 1.049 GB, free: 92 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/1.022, allocations: 4.162 MB / 1.053 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006783/1.029, allocations: 2.651 MB / 1.056 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.009615/1.038, allocations: 7.856 MB / 1.064 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004161/1.042, allocations: 2.855 MB / 1.066 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007176/1.05, allocations: 3.533 MB / 1.07 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003531/1.053, allocations: 2.183 MB / 1.072 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007755/1.054, allocations: 386.3 kB / 1.072 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005891/1.06, allocations: 2.741 MB / 1.075 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001322/1.061, allocations: 1.148 MB / 1.076 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003185/1.064, allocations: 2.046 MB / 1.078 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009359/1.074, allocations: 7.039 MB / 1.085 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.074, allocations: 0 / 1.085 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/1.074, allocations: 2.625 kB / 1.085 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001308/1.074, allocations: 0 / 1.085 GB, free: 12.09 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.008361/1.082, allocations: 4.475 MB / 1.089 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.082, allocations: 10.47 kB / 1.089 GB, free: 7.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/1.085, allocations: 0.5156 MB / 1.09 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005403/1.09, allocations: 3.143 MB / 1.093 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/1.09, allocations: 151.2 kB / 1.093 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/1.09, allocations: 208 kB / 1.093 GB, free: 3.555 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/1.095, allocations: 2.442 MB / 1.096 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/1.095, allocations: 10.62 kB / 1.096 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/1.095, allocations: 83.94 kB / 1.096 GB, free: 0.9766 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-05/1.095, allocations: 63.64 kB / 1.096 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/1.098, allocations: 1.902 MB / 1.098 GB, free: 15.02 MB / 0.7637 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.01422/1.112, allocations: 9.926 MB / 1.107 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/1.114, allocations: 1.391 MB / 1.109 GB, free: 3.434 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/1.116, allocations: 0.9673 MB / 1.11 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000961/1.117, allocations: 1.168 MB / 1.111 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.117, allocations: 54 kB / 1.111 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=111): time 3.256e-06/1.117, allocations: 1.094 kB / 1.111 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of matching and sorting (n=113): time 0.008849/1.126, allocations: 5.647 MB / 1.116 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.126, allocations: 241.1 kB / 1.117 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005052/1.131, allocations: 3.361 MB / 1.12 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/1.131, allocations: 53.7 kB / 1.12 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/1.132, allocations: 1.403 MB / 1.121 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/1.133, allocations: 391.5 kB / 1.122 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/1.133, allocations: 298.7 kB / 1.122 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/1.133, allocations: 309.1 kB / 1.122 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/1.135, allocations: 1.061 MB / 1.123 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.136, allocations: 1.436 MB / 1.125 GB, free: 2.461 MB / 0.7794 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.009433/1.146, allocations: 6.633 MB / 1.131 GB, free: 11.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.146, allocations: 0 / 1.131 GB, free: 11.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004328/1.15, allocations: 3.157 MB / 1.134 GB, free: 8.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002147/1.15, allocations: 384.5 kB / 1.135 GB, free: 7.844 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/1.15, allocations: 8.047 kB / 1.135 GB, free: 7.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/1.15, allocations: 19.92 kB / 1.135 GB, free: 7.816 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.152, allocations: 271.2 kB / 1.135 GB, free: 7.566 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004217/1.152, allocations: 0.6143 MB / 1.136 GB, free: 6.934 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/1.154, allocations: 95.92 kB / 1.136 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/1.154, allocations: 63.98 kB / 1.136 GB, free: 6.777 MB / 0.795 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002512/1.157, allocations: 1.794 MB / 1.138 GB, free: 4.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001704/1.158, allocations: 1.423 MB / 1.139 GB, free: 3.441 MB / 0.795 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009184/1.168, allocations: 6.6 MB / 1.145 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/1.168, allocations: 4 kB / 1.145 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004251/1.172, allocations: 3.144 MB / 1.148 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/1.172, allocations: 383.3 kB / 1.149 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.172, allocations: 4 kB / 1.149 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.172, allocations: 12 kB / 1.149 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.173, allocations: 259.6 kB / 1.149 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/1.173, allocations: 19.05 kB / 1.149 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/1.175, allocations: 103.8 kB / 1.149 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.175, allocations: 63.98 kB / 1.149 GB, free: 8.43 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005279/1.176, allocations: 461.2 kB / 1.15 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000643/1.176, allocations: 308.2 kB / 1.15 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00362/1.18, allocations: 2.356 MB / 1.152 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002658/1.183, allocations: 2.101 MB / 1.154 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/1.183, allocations: 0 / 1.154 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/1.184, allocations: 0.6442 MB / 1.155 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005422/1.185, allocations: 28 kB / 1.155 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.186, allocations: 63.94 kB / 1.155 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/1.186, allocations: 136.8 kB / 1.155 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0037/1.19, allocations: 2.558 MB / 1.158 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004771/1.195, allocations: 3.702 MB / 1.161 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001253/1.196, allocations: 0.9566 MB / 1.162 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003689/1.2, allocations: 2.343 MB / 1.165 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of Backend: time 8.72e-07/1.2, allocations: 0 / 1.165 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007862/1.208, allocations: 5.414 MB / 1.17 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of SimCode: time 0.01241/1.22, allocations: 7.079 MB / 1.177 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.1095/1.33, allocations: 72.73 MB / 1.248 GB, free: 4.062 MB / 0.9044 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)