Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.724/1.724, allocations: 287.4 MB / 303.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008944/0.0008942, allocations: 183.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 0.6304 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008033/0.0008033, allocations: 96.48 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003684, allocations: 13.8 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl): time 0.6787/0.867, allocations: 302.4 MB / 1.275 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03723/0.9043, allocations: 24.31 MB / 1.298 GB, free: 4.828 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/0.9091, allocations: 115.2 kB / 1.298 GB, free: 4.715 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004974/0.9141, allocations: 1.222 MB / 1.3 GB, free: 3.484 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.9258, allocations: 3.728 MB / 1.303 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.007078/0.9329, allocations: 2.213 MB / 1.305 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.06225/0.9952, allocations: 57.88 MB / 1.362 GB, free: 3.523 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0299/1.025, allocations: 23.49 MB / 1.385 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02782/1.053, allocations: 12.8 MB / 1.397 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02256/1.076, allocations: 12.64 MB / 1.41 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.004077/1.08, allocations: 0.6953 MB / 1.41 GB, free: 1.66 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01452/1.094, allocations: 2.66 MB / 1.413 GB, free: 15 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.007888/1.102, allocations: 4.145 MB / 1.417 GB, free: 10.84 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.008651/1.111, allocations: 4.239 MB / 1.421 GB, free: 6.582 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 1.028/2.138, allocations: 35.31 MB / 1.456 GB, free: 87.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/2.138, allocations: 0 / 1.456 GB, free: 87.64 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.855e-06/2.139, allocations: 2.969 kB / 1.456 GB, free: 87.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001445/2.14, allocations: 0.875 kB / 1.456 GB, free: 87.64 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3010 * Number of variables: 3010 Notification: Performance of Generate backend data structure: time 0.06451/2.204, allocations: 18.52 MB / 1.474 GB, free: 81.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/2.205, allocations: 8.938 kB / 1.474 GB, free: 81.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02641/2.231, allocations: 3.603 MB / 1.477 GB, free: 80.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05729/2.288, allocations: 24.95 MB / 1.502 GB, free: 74.46 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001337/2.29, allocations: 0.8983 MB / 1.503 GB, free: 74.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008752/2.298, allocations: 1.229 MB / 1.504 GB, free: 74.42 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07028/2.369, allocations: 24.12 MB / 1.527 GB, free: 68.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005607/2.369, allocations: 38.06 kB / 1.527 GB, free: 68.17 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005662/2.375, allocations: 491 kB / 1.528 GB, free: 68.17 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004801/2.376, allocations: 0.5606 MB / 1.528 GB, free: 68.09 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04728/2.423, allocations: 22.5 MB / 1.55 GB, free: 63.83 MB / 0.948 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.1655/2.588, allocations: 91.02 MB / 1.639 GB, free: 6.789 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0275/2.616, allocations: 14.31 MB / 1.653 GB, free: 12.78 MB / 0.9793 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01565/2.632, allocations: 8.737 MB / 1.662 GB, free: 6.508 MB / 0.9793 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001771/2.633, allocations: 0.9992 MB / 1.663 GB, free: 5.355 MB / 0.9793 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01538/2.649, allocations: 7.325 MB / 1.67 GB, free: 15.92 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01149/2.66, allocations: 1.294 MB / 1.671 GB, free: 14.79 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=708): time 2.55e-05/2.66, allocations: 0 / 1.671 GB, free: 14.79 MB / 0.9949 GB Notification: Performance of matching and sorting (n=720): time 0.09446/2.755, allocations: 35.92 MB / 1.706 GB, free: 13.05 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/2.755, allocations: 214.1 kB / 1.706 GB, free: 12.81 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03833/2.793, allocations: 15.49 MB / 1.722 GB, free: 13.34 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003098/2.797, allocations: 196.5 kB / 1.722 GB, free: 13.15 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01334/2.81, allocations: 7.078 MB / 1.729 GB, free: 6.07 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.005212/2.815, allocations: 2.611 MB / 1.731 GB, free: 3.48 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/2.816, allocations: 165.2 kB / 1.731 GB, free: 3.32 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0008311/2.817, allocations: 0.7079 MB / 1.732 GB, free: 2.605 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/2.83, allocations: 6.836 MB / 1.739 GB, free: 11.76 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01619/2.846, allocations: 9.394 MB / 1.748 GB, free: 1.562 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02795/2.874, allocations: 16.4 MB / 1.764 GB, free: 0.75 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.28e-05/2.874, allocations: 15.94 kB / 1.764 GB, free: 0.7344 MB / 1.073 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.0388/2.913, allocations: 17.47 MB / 1.781 GB, free: 15.45 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009784/2.914, allocations: 1.312 MB / 1.782 GB, free: 13.62 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-05/2.914, allocations: 36 kB / 1.782 GB, free: 13.59 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/2.916, allocations: 497.6 kB / 1.783 GB, free: 13.11 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/2.926, allocations: 2.125 MB / 1.785 GB, free: 11.09 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00747/2.933, allocations: 6.204 MB / 1.791 GB, free: 4.766 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0186/2.952, allocations: 1.814 MB / 1.793 GB, free: 2.953 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003232/2.955, allocations: 331 kB / 1.793 GB, free: 2.633 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/2.955, allocations: 4 kB / 1.793 GB, free: 2.629 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0311/2.986, allocations: 16.47 MB / 1.809 GB, free: 2.387 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/2.987, allocations: 39.09 kB / 1.809 GB, free: 2.352 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/2.988, allocations: 493.7 kB / 1.81 GB, free: 1.867 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009284/2.997, allocations: 2.101 MB / 1.812 GB, free: 15.87 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007044/3.004, allocations: 5.61 MB / 1.817 GB, free: 10.16 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01699/3.021, allocations: 1.791 MB / 1.819 GB, free: 8.375 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002352/3.024, allocations: 327.9 kB / 1.819 GB, free: 8.055 MB / 1.136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1032): * Single equations (assignments): 1017 * Array equations: 12 * Algorithm blocks: 1 * 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%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02178/3.046, allocations: 10.22 MB / 1.829 GB, free: 13.93 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003969/3.049, allocations: 1.15 MB / 1.83 GB, free: 12.77 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9087/3.958, allocations: 15.38 MB / 1.845 GB, free: 483.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02383/3.982, allocations: 12.77 MB / 1.858 GB, free: 482.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/3.982, allocations: 0 / 1.858 GB, free: 482.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01197/3.994, allocations: 3.627 MB / 1.861 GB, free: 481.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005449/4, allocations: 210.4 kB / 1.862 GB, free: 481.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0155/4.015, allocations: 1.484 MB / 1.863 GB, free: 481.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00252/4.018, allocations: 427.3 kB / 1.863 GB, free: 481.4 MB / 1.151 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03259/4.05, allocations: 16.15 MB / 1.879 GB, free: 477 MB / 1.151 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0349/4.085, allocations: 24.36 MB / 1.903 GB, free: 469.7 MB / 1.151 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009618/4.095, allocations: 6.908 MB / 1.91 GB, free: 467.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.02234/4.117, allocations: 11.25 MB / 1.921 GB, free: 463.2 MB / 1.151 GB Notification: Performance of Backend: time 6.32e-07/4.117, allocations: 1.094 kB / 1.921 GB, free: 463.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.04489/4.162, allocations: 19.08 MB / 1.939 GB, free: 447.3 MB / 1.151 GB Notification: Performance of SimCode: time 0.1032/4.265, allocations: 49.73 MB / 1.988 GB, free: 399.5 MB / 1.151 GB Notification: Performance of Templates: time 0.4276/4.693, allocations: 352 MB / 2.332 GB, free: 48.48 MB / 1.151 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.pipe 2>&1)