Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 107.4 kB / 16.41 MB, free: 6.504 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.001119/0.001119, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 290.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 96.27 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3662, allocations: 86.98 MB / 0.7671 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating): time 0.6005/0.9668, allocations: 266.2 MB / 1.027 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02526/0.9921, allocations: 21.81 MB / 1.048 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004366/0.9965, allocations: 133.7 kB / 1.048 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003815/1, allocations: 1.789 MB / 1.05 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00942/1.01, allocations: 4.191 MB / 1.054 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005863/1.016, allocations: 2.732 MB / 1.057 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008825/1.025, allocations: 8.07 MB / 1.065 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003693/1.028, allocations: 3.006 MB / 1.068 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006513/1.035, allocations: 3.611 MB / 1.071 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003383/1.038, allocations: 2.265 MB / 1.074 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005479/1.039, allocations: 402 kB / 1.074 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005725/1.044, allocations: 2.75 MB / 1.077 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/1.046, allocations: 1.186 MB / 1.078 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002222/1.048, allocations: 2.142 MB / 1.08 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007826/1.056, allocations: 7.25 MB / 1.087 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.056, allocations: 4 kB / 1.087 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.163e-06/1.056, allocations: 0 / 1.087 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.903e-05/1.056, allocations: 4 kB / 1.087 GB, free: 10.64 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.006769/1.062, allocations: 4.687 MB / 1.092 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.062, allocations: 12.03 kB / 1.092 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/1.064, allocations: 0.536 MB / 1.092 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004959/1.069, allocations: 3.268 MB / 1.095 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/1.07, allocations: 160 kB / 1.095 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/1.07, allocations: 219.9 kB / 1.096 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/1.074, allocations: 2.587 MB / 1.098 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/1.074, allocations: 11.64 kB / 1.098 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/1.074, allocations: 87.94 kB / 1.098 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.89e-05/1.074, allocations: 79.83 kB / 1.098 GB, free: 14.9 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/1.077, allocations: 1.996 MB / 1.1 GB, free: 12.92 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.01351/1.091, allocations: 10.7 MB / 1.111 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/1.093, allocations: 1.531 MB / 1.112 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/1.095, allocations: 1.035 MB / 1.113 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009123/1.096, allocations: 1.182 MB / 1.114 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/1.096, allocations: 47.56 kB / 1.114 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=124): time 3.517e-06/1.096, allocations: 0 / 1.114 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=132): time 0.009737/1.105, allocations: 6.189 MB / 1.12 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.106, allocations: 234.6 kB / 1.121 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/1.11, allocations: 3.451 MB / 1.124 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001884/1.11, allocations: 61.64 kB / 1.124 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/1.112, allocations: 1.477 MB / 1.126 GB, free: 2.238 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/1.112, allocations: 455.5 kB / 1.126 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/1.113, allocations: 331.4 kB / 1.126 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/1.113, allocations: 301.1 kB / 1.127 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/1.114, allocations: 1.114 MB / 1.128 GB, free: 56 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/1.116, allocations: 1.495 MB / 1.129 GB, free: 14.44 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): time 0.009556/1.125, allocations: 6.964 MB / 1.136 GB, free: 7.141 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.126, allocations: 0 / 1.136 GB, free: 7.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004539/1.13, allocations: 3.373 MB / 1.139 GB, free: 3.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001964/1.13, allocations: 388.4 kB / 1.14 GB, free: 3.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.13, allocations: 8 kB / 1.14 GB, free: 3.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/1.13, allocations: 85.67 kB / 1.14 GB, free: 3.168 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.132, allocations: 281.7 kB / 1.14 GB, free: 2.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/1.134, allocations: 3.248 MB / 1.143 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.136, allocations: 95.98 kB / 1.143 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.136, allocations: 67.98 kB / 1.143 GB, free: 15.24 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 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002634/1.139, allocations: 1.865 MB / 1.145 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00174/1.14, allocations: 1.491 MB / 1.147 GB, free: 11.75 MB / 0.8106 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.009398/1.15, allocations: 6.93 MB / 1.153 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-05/1.15, allocations: 4 kB / 1.153 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004325/1.154, allocations: 3.349 MB / 1.157 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001916/1.154, allocations: 384.5 kB / 1.157 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.154, allocations: 15.94 kB / 1.157 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/1.155, allocations: 81.67 kB / 1.157 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/1.156, allocations: 281.3 kB / 1.157 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/1.158, allocations: 3.261 MB / 1.161 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.16, allocations: 99.91 kB / 1.161 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.16, allocations: 71.92 kB / 1.161 GB, free: 12.59 MB / 0.8262 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: 28 * Number of states: 0 () * Number of discrete variables: 8 (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,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004807/1.161, allocations: 464.9 kB / 1.161 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/1.161, allocations: 324.1 kB / 1.161 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/1.165, allocations: 2.532 MB / 1.164 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002725/1.167, allocations: 2.244 MB / 1.166 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.167, allocations: 0 / 1.166 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.168, allocations: 0.6726 MB / 1.167 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000365/1.169, allocations: 36 kB / 1.167 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.17, allocations: 69.44 kB / 1.167 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/1.17, allocations: 141.1 kB / 1.167 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003748/1.174, allocations: 2.713 MB / 1.17 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004778/1.179, allocations: 3.983 MB / 1.174 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001245/1.18, allocations: 1.033 MB / 1.175 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003236/1.183, allocations: 2.393 MB / 1.177 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of Backend: time 2.81e-07/1.183, allocations: 0 / 1.177 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.008036/1.191, allocations: 6.065 MB / 1.183 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of SimCode: time 0.01184/1.203, allocations: 7.374 MB / 1.19 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of Templates: time 0.1083/1.312, allocations: 75.87 MB / 1.264 GB, free: 3.195 MB / 0.92 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)