Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.212/2.212, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 180.6 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.44/2.44, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009364/0.000936, allocations: 88 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006498/0.00065, allocations: 12.69 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2105, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow): time 1.032/1.243, allocations: 241.7 MB / 1.136 GB, free: 3.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03746/1.28, allocations: 19.88 MB / 1.155 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004171/1.284, allocations: 75.94 kB / 1.155 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004411/1.289, allocations: 0.8273 MB / 1.156 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01346/1.302, allocations: 2.957 MB / 1.159 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009126/1.311, allocations: 1.894 MB / 1.161 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.03326/1.345, allocations: 19.62 MB / 1.18 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01352/1.358, allocations: 5.944 MB / 1.186 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01506/1.373, allocations: 4.766 MB / 1.19 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01218/1.386, allocations: 4.445 MB / 1.195 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.002156/1.388, allocations: 244 kB / 1.195 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/1.401, allocations: 2.685 MB / 1.197 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.003985/1.405, allocations: 1.556 MB / 1.199 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004378/1.41, allocations: 1.479 MB / 1.2 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.02136/1.431, allocations: 10.96 MB / 1.211 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/1.431, allocations: 3.984 kB / 1.211 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.825e-06/1.431, allocations: 0 / 1.211 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003563/1.431, allocations: 0 / 1.211 GB, free: 5.293 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 0.02528/1.457, allocations: 6.489 MB / 1.217 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.457, allocations: 12.03 kB / 1.217 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/1.469, allocations: 1.417 MB / 1.219 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02021/1.49, allocations: 6.158 MB / 1.225 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000584/1.49, allocations: 357.1 kB / 1.225 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002158/1.492, allocations: 499.9 kB / 1.226 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02415/1.517, allocations: 6.87 MB / 1.232 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/1.517, allocations: 11.94 kB / 1.232 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001583/1.518, allocations: 192 kB / 1.233 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000374/1.519, allocations: 217.1 kB / 1.233 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/1.54, allocations: 6.117 MB / 1.239 GB, free: 8.715 MB / 0.7605 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.0666/1.607, allocations: 26.7 MB / 1.265 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01183/1.619, allocations: 3.901 MB / 1.269 GB, free: 8.48 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00706/1.626, allocations: 2.485 MB / 1.271 GB, free: 5.988 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0023/1.628, allocations: 1.018 MB / 1.272 GB, free: 4.766 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007052/1.635, allocations: 2.179 MB / 1.274 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=310): time 8.456e-06/1.635, allocations: 0 / 1.274 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of matching and sorting (n=314): time 0.04131/1.677, allocations: 11.12 MB / 1.285 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.677, allocations: 145.1 kB / 1.285 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01216/1.689, allocations: 4.489 MB / 1.29 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008843/1.69, allocations: 93.7 kB / 1.29 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004545/1.695, allocations: 2.472 MB / 1.292 GB, free: 15.96 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002113/1.697, allocations: 1.082 MB / 1.293 GB, free: 14.86 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004228/1.697, allocations: 64 kB / 1.293 GB, free: 14.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0004199/1.698, allocations: 457.1 kB / 1.294 GB, free: 14.34 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005721/1.703, allocations: 1.833 MB / 1.295 GB, free: 12.51 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007189/1.711, allocations: 2.667 MB / 1.298 GB, free: 9.559 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007149/1.718, allocations: 2.369 MB / 1.3 GB, free: 7.164 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.49e-05/1.718, allocations: 4 kB / 1.3 GB, free: 7.16 MB / 0.823 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.01737/1.735, allocations: 5.204 MB / 1.305 GB, free: 1.906 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005501/1.736, allocations: 0.5685 MB / 1.306 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.874e-05/1.736, allocations: 23.88 kB / 1.306 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006944/1.737, allocations: 128.8 kB / 1.306 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007174/1.744, allocations: 0.7606 MB / 1.307 GB, free: 228 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/1.748, allocations: 2.764 MB / 1.31 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008891/1.757, allocations: 0.5464 MB / 1.31 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009577/1.758, allocations: 132 kB / 1.31 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.758, allocations: 4 kB / 1.31 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01684/1.775, allocations: 4.828 MB / 1.315 GB, free: 7.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/1.775, allocations: 16 kB / 1.315 GB, free: 7.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/1.776, allocations: 133.5 kB / 1.315 GB, free: 7.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006861/1.783, allocations: 0.7489 MB / 1.316 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/1.787, allocations: 2.159 MB / 1.318 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008426/1.795, allocations: 0.5466 MB / 1.318 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008882/1.796, allocations: 128 kB / 1.319 GB, free: 3.887 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (413): * Single equations (assignments): 405 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006996/1.803, allocations: 2.412 MB / 1.321 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/1.805, allocations: 462.5 kB / 1.321 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01614/1.821, allocations: 4.712 MB / 1.326 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01255/1.834, allocations: 3.961 MB / 1.33 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/1.834, allocations: 0 / 1.33 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004701/1.838, allocations: 1.116 MB / 1.331 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/1.84, allocations: 75.98 kB / 1.331 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009804/1.85, allocations: 447.1 kB / 1.331 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001411/1.852, allocations: 182.2 kB / 1.332 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02797/1.88, allocations: 4.965 MB / 1.336 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02902/1.909, allocations: 7.376 MB / 1.344 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005542/1.914, allocations: 2.061 MB / 1.346 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.009724/1.924, allocations: 3.17 MB / 1.349 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of Backend: time 1.212e-06/1.924, allocations: 0 / 1.349 GB, free: 4.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03237/1.956, allocations: 6.754 MB / 1.355 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of SimCode: time 0.07603/2.033, allocations: 15.82 MB / 1.371 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of Templates: time 0.9409/2.974, allocations: 117.6 MB / 1.486 GB, free: 291.2 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.pipe 2>&1)