Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 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.BaseClasses.Validation.TerminalUnitScaling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.QActHea_flow|terUniMul.QActHea_flow|terUniMulZonMul.QActHea_flow|ter.QReqHea_flow|QHea_flow_nominal|ter.mReqHeaWat_flow|terUniMul.mReqHeaWat_flow|terUniMulZonMul.mReqHeaWat_flow|ter.mHeaWat_flow_nominal|ter.TLoaODE.TAir|terUniMul.TLoaODE.TAir|terUniMulZonMul.TLoaODE.TAir|TSet.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ter.QActHea_flow|terUniMul.QActHea_flow|terUniMulZonMul.QActHea_flow|ter.QReqHea_flow|QHea_flow_nominal|ter.mReqHeaWat_flow|terUniMul.mReqHeaWat_flow|terUniMulZonMul.mReqHeaWat_flow|ter.mHeaWat_flow_nominal|ter.TLoaODE.TAir|terUniMul.TLoaODE.TAir|terUniMulZonMul.TLoaODE.TAir|TSet.y",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 110.1 kB / 16.42 MB, free: 6.453 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.002013/0.002013, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.00145, allocations: 55.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8467/0.8482, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter ter.fan.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter terUniMul.fan.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter terUniMulZonMul.fan.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling): time 1.342/2.19, allocations: 0.4977 GB / 1.586 GB, free: 4.504 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.1038/2.294, allocations: 85.69 MB / 1.67 GB, free: 3.973 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01254/2.307, allocations: 311.3 kB / 1.67 GB, free: 3.969 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.01842/2.325, allocations: 4.724 MB / 1.675 GB, free: 3.898 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.03743/2.363, allocations: 14.14 MB / 1.689 GB, free: 3.344 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.01774/2.381, allocations: 7.563 MB / 1.696 GB, free: 3.148 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.02642/2.407, allocations: 20.53 MB / 1.716 GB, free: 3.043 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01287/2.42, allocations: 8.088 MB / 1.724 GB, free: 1.965 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0221/2.442, allocations: 10.57 MB / 1.734 GB, free: 1.824 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01108/2.453, allocations: 5.868 MB / 1.74 GB, free: 0.9141 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.003364/2.457, allocations: 0.9706 MB / 1.741 GB, free: 0.9141 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02431/2.481, allocations: 10.45 MB / 1.751 GB, free: 0.8125 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.00498/2.486, allocations: 2.755 MB / 1.754 GB, free: 372 kB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01116/2.497, allocations: 4.872 MB / 1.759 GB, free: 14.82 MB / 1.326 GB Notification: Performance of NFConvertDAE.convert: time 0.03299/2.53, allocations: 18.03 MB / 1.776 GB, free: 3.758 MB / 1.326 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/2.53, allocations: 4 kB / 1.776 GB, free: 3.754 MB / 1.326 GB Notification: Performance of FrontEnd: time 1.683e-06/2.53, allocations: 4 kB / 1.776 GB, free: 3.75 MB / 1.326 GB Notification: Performance of Transformations before backend: time 0.0004404/2.531, allocations: 2.25 kB / 1.776 GB, free: 3.75 MB / 1.326 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1284 * Number of variables: 1284 Notification: Performance of Generate backend data structure: time 0.02599/2.557, allocations: 9.45 MB / 1.786 GB, free: 13.27 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/2.557, allocations: 8.406 kB / 1.786 GB, free: 13.27 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01803/2.575, allocations: 2.732 MB / 1.788 GB, free: 12.02 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01889/2.594, allocations: 7.488 MB / 1.796 GB, free: 6.746 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005017/2.594, allocations: 415 kB / 1.796 GB, free: 6.562 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/2.596, allocations: 0.5405 MB / 1.796 GB, free: 6.387 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/2.614, allocations: 6.331 MB / 1.803 GB, free: 15.97 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/2.614, allocations: 11.17 kB / 1.803 GB, free: 15.96 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/2.615, allocations: 212 kB / 1.803 GB, free: 15.76 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002303/2.615, allocations: 189.5 kB / 1.803 GB, free: 15.57 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/2.633, allocations: 5.825 MB / 1.809 GB, free: 9.777 MB / 1.357 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.05417/2.688, allocations: 29.82 MB / 1.838 GB, free: 10.87 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01254/2.7, allocations: 4.229 MB / 1.842 GB, free: 6.609 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005709/2.706, allocations: 2.188 MB / 1.844 GB, free: 4.418 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/2.708, allocations: 1.604 MB / 1.846 GB, free: 2.492 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006664/2.715, allocations: 2.379 MB / 1.848 GB, free: 72 kB / 1.389 GB Notification: Performance of pre-optimization done (n=307): time 7.634e-06/2.715, allocations: 0 / 1.848 GB, free: 72 kB / 1.389 GB Notification: Performance of matching and sorting (n=307): time 0.02858/2.743, allocations: 7.956 MB / 1.856 GB, free: 8.02 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/2.743, allocations: 192.6 kB / 1.856 GB, free: 7.793 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01261/2.756, allocations: 6.004 MB / 1.862 GB, free: 1.828 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.001111/2.757, allocations: 109.7 kB / 1.862 GB, free: 1.715 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.003853/2.761, allocations: 3.345 MB / 1.865 GB, free: 14.43 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/2.763, allocations: 1.033 MB / 1.866 GB, free: 13.41 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002911/2.765, allocations: 0.8651 MB / 1.867 GB, free: 12.53 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/2.766, allocations: 301.1 kB / 1.867 GB, free: 12.23 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006005/2.772, allocations: 2.052 MB / 1.869 GB, free: 10.15 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007467/2.779, allocations: 3.409 MB / 1.873 GB, free: 6.191 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01269/2.792, allocations: 5.032 MB / 1.878 GB, free: 0.8398 MB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.602e-05/2.792, allocations: 8 kB / 1.878 GB, free: 0.832 MB / 1.42 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.0187/2.811, allocations: 6.276 MB / 1.884 GB, free: 10.7 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/2.811, allocations: 16 kB / 1.884 GB, free: 10.68 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-05/2.811, allocations: 35.94 kB / 1.884 GB, free: 10.65 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/2.814, allocations: 0.7496 MB / 1.885 GB, free: 9.898 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005701/2.819, allocations: 1.054 MB / 1.886 GB, free: 8.898 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004708/2.824, allocations: 4.379 MB / 1.89 GB, free: 4.402 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/2.833, allocations: 0.7165 MB / 1.891 GB, free: 3.684 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/2.834, allocations: 207.9 kB / 1.891 GB, free: 3.48 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00914/2.843, allocations: 3.252 MB / 1.894 GB, free: 224 kB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006725/2.85, allocations: 3.259 MB / 1.897 GB, free: 12.4 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01104/2.861, allocations: 4.772 MB / 1.902 GB, free: 7.312 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.825e-05/2.861, allocations: 8 kB / 1.902 GB, free: 7.305 MB / 1.451 GB Notification: Performance of matching and sorting (n=514) (initialization_lambda0): time 0.0172/2.878, allocations: 5.901 MB / 1.908 GB, free: 1.547 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/2.878, allocations: 23.98 kB / 1.908 GB, free: 1.523 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-05/2.878, allocations: 28 kB / 1.908 GB, free: 1.496 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/2.88, allocations: 0.5398 MB / 1.908 GB, free: 0.9531 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004755/2.885, allocations: 0.9715 MB / 1.909 GB, free: 36 kB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002527/2.887, allocations: 2.371 MB / 1.911 GB, free: 13.61 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007278/2.895, allocations: 0.5707 MB / 1.912 GB, free: 13.04 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007513/2.896, allocations: 199.9 kB / 1.912 GB, free: 12.84 MB / 1.467 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 18 (terUniMulZonMul.con1.y,terUniMul.con1.y,ter.con1.y,terUniMulZonMul.hex.flowRegime_nominal,terUniMul.hex.flowRegime_nominal,ter.hex.flowRegime_nominal,terUniMulZonMul.greThr.greHys.y,$PRE.terUniMulZonMul.greThr.greHys.y,terUniMulZonMul.hex.flowRegime,terUniMul.greThr.greHys.y,$PRE.terUniMul.greThr.greHys.y,terUniMul.hex.flowRegime,ter.greThr.greHys.y,$PRE.ter.greThr.greHys.y,ter.hex.flowRegime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 450 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,16), (1,18), (1,18)} Notification: Performance of prepare postOptimizeDAE: time 0.001428/2.897, allocations: 456.1 kB / 1.913 GB, free: 12.44 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/2.899, allocations: 0.6597 MB / 1.913 GB, free: 11.77 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/2.914, allocations: 5.396 MB / 1.918 GB, free: 6.336 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01139/2.925, allocations: 4.281 MB / 1.923 GB, free: 1.953 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/2.925, allocations: 0 / 1.923 GB, free: 1.953 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003801/2.929, allocations: 1.292 MB / 1.924 GB, free: 0.6328 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001882/2.931, allocations: 67.98 kB / 1.924 GB, free: 0.5664 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005539/2.937, allocations: 335.6 kB / 1.924 GB, free: 244 kB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004797/2.937, allocations: 205 kB / 1.924 GB, free: 40 kB / 1.467 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01742/2.955, allocations: 5.329 MB / 1.93 GB, free: 10.72 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01939/2.974, allocations: 7.234 MB / 1.937 GB, free: 3.418 MB / 1.482 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005576/2.98, allocations: 2.033 MB / 1.939 GB, free: 1.375 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.008825/2.989, allocations: 4.028 MB / 1.943 GB, free: 13.38 MB / 1.498 GB Notification: Performance of Backend: time 8.32e-07/2.989, allocations: 3.938 kB / 1.943 GB, free: 13.38 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.02758/3.016, allocations: 8.186 MB / 1.951 GB, free: 5.637 MB / 1.498 GB Notification: Performance of SimCode: time 0.03582/3.052, allocations: 14.81 MB / 1.965 GB, free: 6.883 MB / 1.514 GB Notification: Performance of Templates: time 0.2708/3.323, allocations: 168.2 MB / 2.129 GB, free: 400 kB / 1.67 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.makefile (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.sim & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe 2>&1)