Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.419/2.419, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.00146/0.00146, allocations: 181.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.345/2.345, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009369/0.0009367, allocations: 93.98 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 11.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1961, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl): time 1.058/1.254, allocations: 254.5 MB / 1.148 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.04592/1.3, allocations: 24.79 MB / 1.172 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004951/1.305, allocations: 86.94 kB / 1.172 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005302/1.31, allocations: 0.9983 MB / 1.173 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01525/1.325, allocations: 3.384 MB / 1.177 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01505/1.341, allocations: 3.256 MB / 1.18 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.03675/1.377, allocations: 20.54 MB / 1.2 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01695/1.394, allocations: 6.25 MB / 1.206 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01639/1.411, allocations: 5.154 MB / 1.211 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/1.424, allocations: 4.687 MB / 1.216 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.002218/1.426, allocations: 260 kB / 1.216 GB, free: 456 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/1.44, allocations: 3.006 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.004179/1.444, allocations: 1.634 MB / 1.22 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.004553/1.449, allocations: 1.565 MB / 1.222 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02266/1.472, allocations: 11.46 MB / 1.233 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.018e-05/1.472, allocations: 8 kB / 1.233 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.886e-06/1.472, allocations: 0 / 1.233 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004365/1.472, allocations: 0 / 1.233 GB, free: 14.72 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1252 * Number of variables: 1252 Notification: Performance of Generate backend data structure: time 0.02739/1.5, allocations: 6.979 MB / 1.24 GB, free: 7.648 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.5, allocations: 12.03 kB / 1.24 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/1.513, allocations: 1.51 MB / 1.241 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02037/1.534, allocations: 6.436 MB / 1.248 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005239/1.534, allocations: 381.5 kB / 1.248 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/1.536, allocations: 0.5077 MB / 1.249 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02237/1.559, allocations: 7.119 MB / 1.255 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/1.559, allocations: 7.938 kB / 1.256 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008803/1.56, allocations: 208 kB / 1.256 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003636/1.56, allocations: 225.5 kB / 1.256 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/1.581, allocations: 6.287 MB / 1.262 GB, free: 0.7305 MB / 0.7761 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.06847/1.65, allocations: 28.07 MB / 1.289 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/1.661, allocations: 4.372 MB / 1.294 GB, free: 14.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006921/1.668, allocations: 2.555 MB / 1.296 GB, free: 11.93 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/1.669, allocations: 0.935 MB / 1.297 GB, free: 10.81 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006579/1.676, allocations: 2.195 MB / 1.299 GB, free: 8.578 MB / 0.823 GB Notification: Performance of pre-optimization done (n=323): time 8.356e-06/1.676, allocations: 0 / 1.299 GB, free: 8.578 MB / 0.823 GB Notification: Performance of matching and sorting (n=327): time 0.04286/1.719, allocations: 11.53 MB / 1.311 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.719, allocations: 200.7 kB / 1.311 GB, free: 12.63 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.732, allocations: 4.851 MB / 1.315 GB, free: 7.781 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0009483/1.733, allocations: 93.7 kB / 1.316 GB, free: 7.684 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00441/1.737, allocations: 2.697 MB / 1.318 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.002173/1.739, allocations: 1.136 MB / 1.319 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004171/1.74, allocations: 68 kB / 1.319 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004402/1.74, allocations: 457.6 kB / 1.32 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005967/1.746, allocations: 1.912 MB / 1.322 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007428/1.754, allocations: 2.839 MB / 1.324 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007388/1.761, allocations: 2.44 MB / 1.327 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-05/1.761, allocations: 4 kB / 1.327 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.01842/1.78, allocations: 5.495 MB / 1.332 GB, free: 6.211 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005886/1.78, allocations: 0.5628 MB / 1.333 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-05/1.78, allocations: 16 kB / 1.333 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/1.782, allocations: 245.5 kB / 1.333 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00744/1.789, allocations: 0.8074 MB / 1.334 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004836/1.794, allocations: 3.426 MB / 1.337 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009633/1.804, allocations: 0.5931 MB / 1.338 GB, free: 160 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009826/1.805, allocations: 140 kB / 1.338 GB, free: 20 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.805, allocations: 7.938 kB / 1.338 GB, free: 12 kB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01578/1.821, allocations: 5.015 MB / 1.343 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.871e-05/1.821, allocations: 16.19 kB / 1.343 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.822, allocations: 225.5 kB / 1.343 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007126/1.829, allocations: 0.7879 MB / 1.344 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006882/1.836, allocations: 4.106 MB / 1.348 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009021/1.845, allocations: 0.5844 MB / 1.348 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008646/1.846, allocations: 144 kB / 1.348 GB, free: 4.82 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (434): * Single equations (assignments): 424 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.006806/1.853, allocations: 2.443 MB / 1.351 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/1.854, allocations: 0.498 MB / 1.351 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/1.87, allocations: 4.866 MB / 1.356 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01316/1.883, allocations: 4.057 MB / 1.36 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.883, allocations: 0 / 1.36 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004745/1.888, allocations: 1.159 MB / 1.361 GB, free: 7.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001587/1.89, allocations: 75.98 kB / 1.361 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007653/1.897, allocations: 481.3 kB / 1.362 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000812/1.898, allocations: 198.3 kB / 1.362 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01783/1.916, allocations: 5.061 MB / 1.367 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02044/1.937, allocations: 7.488 MB / 1.374 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005428/1.942, allocations: 2.081 MB / 1.376 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.009008/1.951, allocations: 3.398 MB / 1.38 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of Backend: time 1.293e-06/1.951, allocations: 0 / 1.38 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.02463/1.976, allocations: 7.133 MB / 1.386 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of SimCode: time 0.6774/2.653, allocations: 16.79 MB / 1.403 GB, free: 345.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.3294/2.983, allocations: 124.5 MB / 1.524 GB, free: 250.5 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)