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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001273/0.001273, allocations: 172.8 kB / 366.7 MB, free: 1.691 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.53/1.53, allocations: 205.2 MB / 0.626 GB, free: 7.133 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009332/0.0009331, allocations: 80.8 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.905e-05/1.907e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7452, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/1.946, allocations: 479.5 MB / 1.442 GB, free: 73.68 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.946, allocations: 108.5 kB / 1.442 GB, free: 73.62 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.296/7.242, allocations: 1.535 GB / 2.977 GB, free: 90.45 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.343e-06/7.242, allocations: 0 / 2.977 GB, free: 90.45 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0007695/7.243, allocations: 111.1 kB / 2.977 GB, free: 90.43 MB / 0.9792 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.01079/7.254, allocations: 3.748 MB / 2.981 GB, free: 88.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/7.254, allocations: 7.438 kB / 2.981 GB, free: 88.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/7.257, allocations: 0.5413 MB / 2.981 GB, free: 87.96 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/7.267, allocations: 4.735 MB / 2.986 GB, free: 85.72 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/7.267, allocations: 84.86 kB / 2.986 GB, free: 85.72 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003671/7.267, allocations: 172.2 kB / 2.986 GB, free: 85.71 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003066/7.27, allocations: 1.694 MB / 2.988 GB, free: 84.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/7.274, allocations: 2.256 MB / 2.99 GB, free: 83.49 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/7.274, allocations: 7.438 kB / 2.99 GB, free: 83.49 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/7.274, allocations: 3.438 kB / 2.99 GB, free: 83.49 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.828e-05/7.274, allocations: 89.5 kB / 2.99 GB, free: 83.48 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.01481/7.289, allocations: 13.74 MB / 3.004 GB, free: 71.49 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/7.29, allocations: 1.37 MB / 3.005 GB, free: 70.63 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/7.291, allocations: 0.6134 MB / 3.006 GB, free: 70.34 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.00642/7.298, allocations: 4.993 MB / 3.01 GB, free: 65.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009323/7.299, allocations: 0.6961 MB / 3.011 GB, free: 65.18 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00118/7.3, allocations: 154.7 kB / 3.011 GB, free: 65.08 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=124): time 3.707e-06/7.3, allocations: 0 / 3.011 GB, free: 65.08 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.003159/7.303, allocations: 1.502 MB / 3.013 GB, free: 64.33 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/7.303, allocations: 147.1 kB / 3.013 GB, free: 64.17 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/7.306, allocations: 2.282 MB / 3.015 GB, free: 63 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/7.306, allocations: 37.64 kB / 3.015 GB, free: 62.97 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/7.308, allocations: 1.728 MB / 3.017 GB, free: 61.45 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/7.308, allocations: 411 kB / 3.017 GB, free: 61.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/7.308, allocations: 7.031 kB / 3.017 GB, free: 61.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001476/7.308, allocations: 374.1 kB / 3.018 GB, free: 60.74 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000936/7.309, allocations: 0.5351 MB / 3.018 GB, free: 60.49 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/7.311, allocations: 1.244 MB / 3.019 GB, free: 59.29 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/7.313, allocations: 0.9244 MB / 3.02 GB, free: 58.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/7.314, allocations: 7.734 kB / 3.02 GB, free: 58.79 MB / 0.9792 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.005209/7.319, allocations: 2.139 MB / 3.022 GB, free: 57.76 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001709/7.32, allocations: 7.249 MB / 3.029 GB, free: 49.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/7.32, allocations: 15.44 kB / 3.029 GB, free: 49.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002262/7.321, allocations: 73.58 kB / 3.03 GB, free: 49.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/7.322, allocations: 372.8 kB / 3.03 GB, free: 49.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/7.324, allocations: 1.559 MB / 3.031 GB, free: 47.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/7.327, allocations: 267.5 kB / 3.032 GB, free: 47.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/7.327, allocations: 104 kB / 3.032 GB, free: 47.57 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/7.327, allocations: 5.562 kB / 3.032 GB, free: 47.57 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003736/7.331, allocations: 1.777 MB / 3.033 GB, free: 45.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/7.331, allocations: 19.8 kB / 3.034 GB, free: 45.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/7.331, allocations: 70.3 kB / 3.034 GB, free: 45.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/7.332, allocations: 363.9 kB / 3.034 GB, free: 45.35 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/7.333, allocations: 1.566 MB / 3.035 GB, free: 43.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/7.336, allocations: 251.5 kB / 3.036 GB, free: 43.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/7.337, allocations: 104 kB / 3.036 GB, free: 43.31 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.disFlo.conVal.cha.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,disFlo.conVal.swi.u2,$PRE.disFlo.conVal.cha.u,disFlo.conVal.cha.u,disFlo.conVal.cha.y,disFlo.conVal.cha.up,disFlo.conVal.cha.down,$PRE.mSec_flow.booPul.y,mSec_flow.booPul.y,$PRE.modCha.y,modCha.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (216): * Single equations (assignments): 212 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000485/7.337, allocations: 176.7 kB / 3.036 GB, free: 43.13 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/7.338, allocations: 308.1 kB / 3.036 GB, free: 42.83 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/7.342, allocations: 1.807 MB / 3.038 GB, free: 41.02 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/7.342, allocations: 19.98 kB / 3.038 GB, free: 41 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/7.342, allocations: 8 kB / 3.038 GB, free: 40.99 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002123/7.344, allocations: 1.362 MB / 3.039 GB, free: 39.58 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.007653/7.352, allocations: 4.551 MB / 3.044 GB, free: 34.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/7.352, allocations: 8.031 kB / 3.044 GB, free: 34.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/7.352, allocations: 227.6 kB / 3.044 GB, free: 34.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/7.353, allocations: 52.83 kB / 3.044 GB, free: 34.65 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/7.353, allocations: 23.55 kB / 3.044 GB, free: 34.63 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/7.354, allocations: 1.535 MB / 3.046 GB, free: 32.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/7.354, allocations: 4 kB / 3.046 GB, free: 32.97 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/7.358, allocations: 2.943 MB / 3.048 GB, free: 29.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/7.36, allocations: 0.5905 MB / 3.049 GB, free: 29.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003786/7.36, allocations: 15.94 kB / 3.049 GB, free: 29.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/7.362, allocations: 163.7 kB / 3.049 GB, free: 29.11 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/7.362, allocations: 97.17 kB / 3.049 GB, free: 29.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/7.362, allocations: 67.95 kB / 3.049 GB, free: 28.95 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002576/7.365, allocations: 1.703 MB / 3.051 GB, free: 27.26 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.11e-07/7.365, allocations: 0 / 3.051 GB, free: 27.26 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01026/7.375, allocations: 2.097 MB / 3.053 GB, free: 25.16 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (disFlo.heaCoo.vol.dynBal.U,disFlo.senTSup.T,disFlo.val.vol.dynBal.U,disFlo.spl.vol.dynBal.U,disFlo.conVal.resConTSup.I.y,senTSecSup.T,senTSecRet.T,senTPriSup.T) * Number of discrete variables: 12 (disFlo.conVal.cha.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,disFlo.conVal.swi.u2,disFlo.conVal.cha.u,disFlo.conVal.cha.up,disFlo.conVal.cha.down,mSec_flow.booPul.y,modCha.y) * Number of discrete states: 1 (disFlo.conVal.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003581/7.379, allocations: 2.134 MB / 3.055 GB, free: 23.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00423/7.383, allocations: 2.892 MB / 3.058 GB, free: 20.22 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/7.383, allocations: 4.812 kB / 3.058 GB, free: 20.22 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/7.384, allocations: 0.7681 MB / 3.059 GB, free: 19.44 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007263/7.391, allocations: 1.419 MB / 3.06 GB, free: 18.11 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009571/7.401, allocations: 4.695 MB / 3.065 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/7.402, allocations: 2.178 MB / 3.067 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004497/7.407, allocations: 0.9588 MB / 3.068 GB, free: 10.28 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/7.407, allocations: 187.3 kB / 3.068 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of SimCode: time 1.643e-06/7.407, allocations: 0 / 3.068 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of Templates: time 0.8272/8.234, allocations: 67.19 MB / 3.134 GB, free: 107.7 MB / 1.01 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)