Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTPriSup.T|TSetSecAct.y|senTSecRet.T|senTSecSup.T|mod.y|mSec_flow.y|disFlo.PPum|disFlo.val.y_actual",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTPriSup.T|TSetSecAct.y|senTSecRet.T|senTSecSup.T|mod.y|mSec_flow.y|disFlo.PPum|disFlo.val.y_actual",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 387.1 MB / 399.7 MB, free: 9.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 188.8 kB / 492.3 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000939/0.0009389, allocations: 100.2 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.603e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3117, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.332/1.644, allocations: 480.1 MB / 1.681 GB, free: 15.43 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00045/1.644, allocations: 112.4 kB / 1.681 GB, free: 15.37 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 6.489/8.134, allocations: 1.58 GB / 3.261 GB, free: 144.2 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.036e-06/8.134, allocations: 0 / 3.261 GB, free: 144.2 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0008587/8.135, allocations: 116.7 kB / 3.262 GB, free: 144.2 MB / 1.198 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.01327/8.148, allocations: 3.788 MB / 3.265 GB, free: 142.6 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/8.148, allocations: 10.19 kB / 3.265 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004457/8.152, allocations: 0.6367 MB / 3.266 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0282/8.181, allocations: 11.58 MB / 3.277 GB, free: 141.4 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/8.181, allocations: 212.2 kB / 3.277 GB, free: 141.4 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008686/8.182, allocations: 271.8 kB / 3.278 GB, free: 141.4 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005169/8.187, allocations: 2.656 MB / 3.28 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.905e-05/8.187, allocations: 5.094 kB / 3.28 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/8.187, allocations: 108.6 kB / 3.28 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.473e-05/8.187, allocations: 96.47 kB / 3.28 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/8.191, allocations: 1.865 MB / 3.282 GB, free: 141 MB / 1.198 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.02338/8.214, allocations: 14.35 MB / 3.296 GB, free: 134 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/8.217, allocations: 1.451 MB / 3.298 GB, free: 133.6 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009489/8.218, allocations: 0.6668 MB / 3.298 GB, free: 133.6 MB / 1.198 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.008754/8.226, allocations: 5.172 MB / 3.303 GB, free: 130.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/8.228, allocations: 0.7881 MB / 3.304 GB, free: 130.5 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002178/8.23, allocations: 219.1 kB / 3.304 GB, free: 130.4 MB / 1.198 GB Notification: Performance of pre-optimization done (n=125): time 5.49e-06/8.23, allocations: 5.031 kB / 3.304 GB, free: 130.4 MB / 1.198 GB Notification: Performance of matching and sorting (n=125): time 0.002727/8.233, allocations: 1.41 MB / 3.306 GB, free: 130.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/8.233, allocations: 147.8 kB / 3.306 GB, free: 130 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/8.237, allocations: 2.704 MB / 3.309 GB, free: 129.8 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003052/8.238, allocations: 69.2 kB / 3.309 GB, free: 129.7 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/8.239, allocations: 1.712 MB / 3.31 GB, free: 129.2 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/8.24, allocations: 432.9 kB / 3.311 GB, free: 128.9 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/8.24, allocations: 33.59 kB / 3.311 GB, free: 128.9 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001495/8.24, allocations: 377.6 kB / 3.311 GB, free: 128.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/8.241, allocations: 0.5791 MB / 3.312 GB, free: 128.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/8.243, allocations: 1.305 MB / 3.313 GB, free: 127.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/8.244, allocations: 0.8265 MB / 3.314 GB, free: 127.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/8.244, allocations: 7.219 kB / 3.314 GB, free: 127.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004582/8.249, allocations: 2.215 MB / 3.316 GB, free: 127.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001951/8.251, allocations: 7.377 MB / 3.323 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.073e-05/8.251, allocations: 19.5 kB / 3.323 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/8.251, allocations: 68.11 kB / 3.323 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/8.253, allocations: 408.4 kB / 3.324 GB, free: 119.7 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/8.255, allocations: 2.253 MB / 3.326 GB, free: 117.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003829/8.258, allocations: 311.3 kB / 3.326 GB, free: 117.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/8.259, allocations: 121.7 kB / 3.326 GB, free: 117.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/8.259, allocations: 3.312 kB / 3.326 GB, free: 117.7 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003275/8.262, allocations: 1.921 MB / 3.328 GB, free: 117.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/8.262, allocations: 15.91 kB / 3.328 GB, free: 117.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001468/8.262, allocations: 64.78 kB / 3.328 GB, free: 117.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/8.264, allocations: 399 kB / 3.329 GB, free: 117.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/8.265, allocations: 1.614 MB / 3.33 GB, free: 116.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003546/8.269, allocations: 288.8 kB / 3.33 GB, free: 116.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/8.269, allocations: 120.1 kB / 3.33 GB, free: 116.2 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 15 ($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 (217): * 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): 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006563/8.269, allocations: 232.7 kB / 3.331 GB, free: 116.1 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007364/8.27, allocations: 338.6 kB / 3.331 GB, free: 115.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/8.274, allocations: 1.9 MB / 3.333 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/8.274, allocations: 19.78 kB / 3.333 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/8.274, allocations: 3.719 kB / 3.333 GB, free: 115.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001772/8.276, allocations: 1.363 MB / 3.334 GB, free: 115.5 MB / 1.198 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.00888/8.285, allocations: 4.93 MB / 3.339 GB, free: 114.6 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/8.285, allocations: 3.688 kB / 3.339 GB, free: 114.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/8.286, allocations: 254.8 kB / 3.339 GB, free: 114.6 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/8.286, allocations: 44.53 kB / 3.339 GB, free: 114.6 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.54e-05/8.286, allocations: 41.8 kB / 3.339 GB, free: 114.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/8.288, allocations: 2.204 MB / 3.342 GB, free: 112.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/8.288, allocations: 6.188 kB / 3.342 GB, free: 112.6 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004205/8.292, allocations: 3.054 MB / 3.345 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/8.294, allocations: 0.6261 MB / 3.345 GB, free: 111.4 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004633/8.295, allocations: 36.83 kB / 3.345 GB, free: 111.4 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/8.296, allocations: 181.2 kB / 3.345 GB, free: 111.4 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/8.296, allocations: 101.3 kB / 3.345 GB, free: 111.4 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/8.297, allocations: 71.05 kB / 3.346 GB, free: 111.4 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.003613/8.3, allocations: 2.064 MB / 3.348 GB, free: 111.2 MB / 1.198 GB Notification: Performance of sort global known variables: time 4.11e-07/8.3, allocations: 1.625 kB / 3.348 GB, free: 111.2 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.009555/8.31, allocations: 2.093 MB / 3.35 GB, free: 110.9 MB / 1.198 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 (139): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 2 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004302/8.314, allocations: 2.248 MB / 3.352 GB, free: 110.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.005801/8.32, allocations: 3.191 MB / 3.355 GB, free: 109.6 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/8.32, allocations: 7.219 kB / 3.355 GB, free: 109.6 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/8.321, allocations: 0.828 MB / 3.356 GB, free: 109.5 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008796/8.33, allocations: 1.64 MB / 3.357 GB, free: 109.5 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/8.341, allocations: 4.903 MB / 3.362 GB, free: 108.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/8.343, allocations: 2.208 MB / 3.364 GB, free: 107.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005747/8.349, allocations: 1.057 MB / 3.365 GB, free: 107.1 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/8.349, allocations: 197.2 kB / 3.365 GB, free: 107.1 MB / 1.198 GB Notification: Performance of SimCode: time 1.313e-06/8.349, allocations: 0 / 3.365 GB, free: 107.1 MB / 1.198 GB Notification: Performance of Templates: time 0.1388/8.488, allocations: 85.92 MB / 3.449 GB, free: 83.28 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1)