Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 108.8 kB / 16.38 MB, free: 6.473 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.001712/0.001712, allocations: 184 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1802, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl): time 0.4626/0.6428, allocations: 177.2 MB / 0.9579 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.05733/0.7002, allocations: 41.7 MB / 0.9986 GB, free: 15.17 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007223/0.7074, allocations: 210.8 kB / 0.9988 GB, free: 14.96 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005963/0.7134, allocations: 2.224 MB / 1.001 GB, free: 12.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01358/0.727, allocations: 5.397 MB / 1.006 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.7375, allocations: 4.745 MB / 1.011 GB, free: 2.625 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01363/0.7511, allocations: 11.16 MB / 1.022 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005851/0.757, allocations: 4.271 MB / 1.026 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009258/0.7663, allocations: 4.528 MB / 1.03 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004925/0.7712, allocations: 3.01 MB / 1.033 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.7725, allocations: 460 kB / 1.034 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006436/0.7789, allocations: 2.827 MB / 1.037 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.7805, allocations: 1.11 MB / 1.038 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003261/0.7837, allocations: 2.372 MB / 1.04 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.794, allocations: 7.642 MB / 1.047 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.794, allocations: 0 / 1.047 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.794, allocations: 0 / 1.047 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.646e-05/0.7942, allocations: 0 / 1.047 GB, free: 13.16 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 619 * Number of variables: 619 Notification: Performance of Generate backend data structure: time 0.007712/0.8019, allocations: 4.758 MB / 1.052 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.8019, allocations: 12.02 kB / 1.052 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.8036, allocations: 0.5375 MB / 1.053 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006243/0.8099, allocations: 3.781 MB / 1.056 GB, free: 3.895 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.81, allocations: 208.8 kB / 1.056 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.8104, allocations: 268 kB / 1.057 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/0.8149, allocations: 2.77 MB / 1.059 GB, free: 488 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.463e-05/0.815, allocations: 11.94 kB / 1.059 GB, free: 476 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002234/0.8152, allocations: 100 kB / 1.06 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-05/0.8153, allocations: 96.52 kB / 1.06 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003688/0.819, allocations: 1.985 MB / 1.062 GB, free: 14.27 MB / 0.8575 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.01643/0.8355, allocations: 14.92 MB / 1.076 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.8377, allocations: 1.41 MB / 1.077 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.8389, allocations: 0.6649 MB / 1.078 GB, free: 12.27 MB / 0.8731 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 evalFunc (simulation): time 0.00641/0.8453, allocations: 5.018 MB / 1.083 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/0.8467, allocations: 0.7532 MB / 1.084 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=117): time 3.006e-06/0.8467, allocations: 4 kB / 1.084 GB, free: 5.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=117): time 0.004019/0.8507, allocations: 1.967 MB / 1.086 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.8508, allocations: 115.8 kB / 1.086 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.8549, allocations: 3.065 MB / 1.089 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.8551, allocations: 69.69 kB / 1.089 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.8565, allocations: 1.722 MB / 1.091 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/0.8569, allocations: 410.2 kB / 1.091 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005792/0.8574, allocations: 423.1 kB / 1.091 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8576, allocations: 301.1 kB / 1.092 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.8588, allocations: 0.6489 MB / 1.092 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.8606, allocations: 1.34 MB / 1.094 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/0.8633, allocations: 1.942 MB / 1.095 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.8634, allocations: 8 kB / 1.095 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.004391/0.8678, allocations: 2.368 MB / 1.098 GB, free: 6.902 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.707e-05/0.8678, allocations: 75.39 kB / 1.098 GB, free: 6.816 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.8679, allocations: 20 kB / 1.098 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002142/0.8681, allocations: 76.91 kB / 1.098 GB, free: 6.719 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.8694, allocations: 387.4 kB / 1.098 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.8708, allocations: 1.797 MB / 1.1 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.8729, allocations: 294.3 kB / 1.1 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.8731, allocations: 104 kB / 1.1 GB, free: 3.996 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002312/0.8754, allocations: 1.308 MB / 1.102 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001641/0.8771, allocations: 1.312 MB / 1.103 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002644/0.8797, allocations: 1.892 MB / 1.105 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.21e-05/0.8798, allocations: 8 kB / 1.105 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.004163/0.8839, allocations: 2.322 MB / 1.107 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.884, allocations: 79.39 kB / 1.107 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.884, allocations: 20 kB / 1.107 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.8842, allocations: 72.77 kB / 1.107 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.8855, allocations: 395.4 kB / 1.108 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.8868, allocations: 1.783 MB / 1.109 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/0.8889, allocations: 239.3 kB / 1.11 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.889, allocations: 104 kB / 1.11 GB, free: 9.723 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.disFlo.conVal.cha.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,disFlo.conVal.resConTSup.cheYMinMax.y,modCha.y,$PRE.modCha.y,mSec_flow.booPul.y,$PRE.mSec_flow.booPul.y,disFlo.conVal.cha.down,disFlo.conVal.cha.up,disFlo.conVal.cha.y,disFlo.conVal.cha.u,$PRE.disFlo.conVal.cha.u,disFlo.conVal.toBoo.y,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (225): * Single equations (assignments): 221 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004433/0.8895, allocations: 315.6 kB / 1.11 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000515/0.89, allocations: 335.9 kB / 1.11 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.8937, allocations: 1.866 MB / 1.112 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002285/0.896, allocations: 1.378 MB / 1.114 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.896, allocations: 0 / 1.114 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.8971, allocations: 0.5903 MB / 1.114 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/0.8974, allocations: 35.98 kB / 1.114 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.8986, allocations: 71.78 kB / 1.114 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.8988, allocations: 88.88 kB / 1.114 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003288/0.9021, allocations: 1.752 MB / 1.116 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004316/0.9064, allocations: 2.74 MB / 1.119 GB, free: 476 kB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001103/0.9075, allocations: 0.6601 MB / 1.119 GB, free: 15.81 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002901/0.9104, allocations: 2.054 MB / 1.121 GB, free: 13.77 MB / 0.92 GB Notification: Performance of Backend: time 5.31e-07/0.9104, allocations: 0 / 1.121 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007252/0.9177, allocations: 3.544 MB / 1.125 GB, free: 10.18 MB / 0.92 GB Notification: Performance of SimCode: time 0.01304/0.9308, allocations: 7.546 MB / 1.132 GB, free: 2.664 MB / 0.92 GB Notification: Performance of Templates: time 0.3982/1.329, allocations: 73.38 MB / 1.204 GB, free: 275.3 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)