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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.947/1.947, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001241/0.001241, allocations: 181.2 kB / 487 MB, free: 5.301 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.239/1.239, allocations: 221.3 MB / 0.7819 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 96.88 kB / 0.9213 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.654e-06/7.694e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2239, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8977/1.122, allocations: 479.4 MB / 1.673 GB, free: 8.996 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.122, allocations: 108.2 kB / 1.673 GB, free: 8.934 MB / 1.104 GB Notification: Performance of FrontEnd: time 4.594/5.716, allocations: 1.582 GB / 3.255 GB, free: 137.4 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0005016/5.717, allocations: 112.1 kB / 3.255 GB, free: 137.3 MB / 1.182 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.008591/5.725, allocations: 3.794 MB / 3.259 GB, free: 135.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/5.726, allocations: 11.19 kB / 3.259 GB, free: 135.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/5.729, allocations: 0.6509 MB / 3.259 GB, free: 135.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02522/5.754, allocations: 11.66 MB / 3.271 GB, free: 134.4 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/5.754, allocations: 82.31 kB / 3.271 GB, free: 134.4 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005716/5.755, allocations: 163.2 kB / 3.271 GB, free: 134.4 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003358/5.758, allocations: 1.768 MB / 3.273 GB, free: 134.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/5.761, allocations: 2.326 MB / 3.275 GB, free: 133.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/5.761, allocations: 2.875 kB / 3.275 GB, free: 133.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/5.762, allocations: 7.469 kB / 3.275 GB, free: 133.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-05/5.762, allocations: 96.42 kB / 3.275 GB, free: 133.9 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/5.778, allocations: 14.41 MB / 3.289 GB, free: 126.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/5.779, allocations: 0.8457 MB / 3.29 GB, free: 126.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008518/5.78, allocations: 0.686 MB / 3.291 GB, free: 126.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006387/5.787, allocations: 4.914 MB / 3.296 GB, free: 123.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009946/5.788, allocations: 0.7541 MB / 3.296 GB, free: 123.6 MB / 1.182 GB Notification: Performance of pre-optimization done (n=127): time 4.328e-06/5.788, allocations: 3.234 kB / 3.296 GB, free: 123.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=127): time 0.004016/5.792, allocations: 1.657 MB / 3.298 GB, free: 123.4 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/5.792, allocations: 144.2 kB / 3.298 GB, free: 123.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003567/5.795, allocations: 2.313 MB / 3.3 GB, free: 123 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000266/5.795, allocations: 38.27 kB / 3.3 GB, free: 123 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009898/5.796, allocations: 1.105 MB / 3.301 GB, free: 122.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004753/5.797, allocations: 413.1 kB / 3.302 GB, free: 122.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/5.797, allocations: 7.375 kB / 3.302 GB, free: 122.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001129/5.797, allocations: 381.3 kB / 3.302 GB, free: 121.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/5.798, allocations: 0.5934 MB / 3.303 GB, free: 121.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/5.799, allocations: 1.302 MB / 3.304 GB, free: 121 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00294/5.802, allocations: 1.027 MB / 3.305 GB, free: 121 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.949e-05/5.802, allocations: 5.219 kB / 3.305 GB, free: 121 MB / 1.182 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.005607/5.808, allocations: 2.299 MB / 3.307 GB, free: 120.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001237/5.809, allocations: 7.188 MB / 3.314 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/5.809, allocations: 15.5 kB / 3.314 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/5.81, allocations: 68.98 kB / 3.314 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/5.811, allocations: 416.1 kB / 3.315 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/5.814, allocations: 2.247 MB / 3.317 GB, free: 111.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/5.817, allocations: 357.5 kB / 3.317 GB, free: 111.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/5.817, allocations: 119.9 kB / 3.317 GB, free: 111.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/5.817, allocations: 3.875 kB / 3.317 GB, free: 111.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004368/5.821, allocations: 1.89 MB / 3.319 GB, free: 110.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.073e-05/5.821, allocations: 15.88 kB / 3.319 GB, free: 110.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/5.822, allocations: 72.38 kB / 3.319 GB, free: 110.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/5.823, allocations: 403 kB / 3.32 GB, free: 110.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/5.825, allocations: 1.5 MB / 3.321 GB, free: 109.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/5.827, allocations: 313.9 kB / 3.321 GB, free: 109.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002484/5.828, allocations: 114.7 kB / 3.322 GB, free: 109.6 MB / 1.182 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 (219): * Single equations (assignments): 214 * 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.0004822/5.828, allocations: 173.8 kB / 3.322 GB, free: 109.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008576/5.829, allocations: 318.2 kB / 3.322 GB, free: 109.2 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/5.834, allocations: 2.059 MB / 3.324 GB, free: 109.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-05/5.834, allocations: 22.41 kB / 3.324 GB, free: 109.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/5.834, allocations: 1.688 kB / 3.324 GB, free: 109.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003033/5.837, allocations: 1.443 MB / 3.326 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/5.848, allocations: 4.769 MB / 3.33 GB, free: 107.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/5.848, allocations: 2.969 kB / 3.33 GB, free: 107.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/5.849, allocations: 254.6 kB / 3.33 GB, free: 107.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001561/5.849, allocations: 55.08 kB / 3.33 GB, free: 107.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001122/5.849, allocations: 21.22 kB / 3.33 GB, free: 107.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/5.851, allocations: 2.104 MB / 3.333 GB, free: 105.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/5.851, allocations: 4.438 kB / 3.333 GB, free: 105.1 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005356/5.857, allocations: 3.099 MB / 3.336 GB, free: 103.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/5.859, allocations: 0.6108 MB / 3.336 GB, free: 103 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/5.86, allocations: 5.656 kB / 3.336 GB, free: 103 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002379/5.862, allocations: 157 kB / 3.336 GB, free: 103 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/5.862, allocations: 88.44 kB / 3.336 GB, free: 103 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/5.862, allocations: 73.91 kB / 3.336 GB, free: 103 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.004244/5.867, allocations: 1.721 MB / 3.338 GB, free: 102.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01101/5.878, allocations: 2.09 MB / 3.34 GB, free: 101.8 MB / 1.182 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 (142): * Single equations (assignments): 125 * 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.004272/5.882, allocations: 2.162 MB / 3.342 GB, free: 101.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006119/5.888, allocations: 2.957 MB / 3.345 GB, free: 99.79 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/5.888, allocations: 4.375 kB / 3.345 GB, free: 99.79 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/5.89, allocations: 0.8217 MB / 3.346 GB, free: 99.43 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007297/5.897, allocations: 1.391 MB / 3.347 GB, free: 99.17 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/5.91, allocations: 4.903 MB / 3.352 GB, free: 97.32 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003657/5.913, allocations: 2.469 MB / 3.355 GB, free: 96.42 MB / 1.182 GB Notification: Performance of SimCode: time 7.61e-07/5.913, allocations: 0 / 3.355 GB, free: 96.42 MB / 1.182 GB Notification: Performance of Templates: time 0.1121/6.026, allocations: 75.53 MB / 3.428 GB, free: 41.33 MB / 1.182 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)