Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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_latest_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling") translateModel(Buildings.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_latest_Buildings.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.00122/0.00122, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.001293/0.001293, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.512/2.512, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 60.11 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8659/0.8673, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling): time 1.422/2.29, allocations: 0.5014 GB / 1.71 GB, free: 2.305 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1326/2.422, allocations: 88.64 MB / 1.796 GB, free: 4.789 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02122/2.443, allocations: 324.7 kB / 1.797 GB, free: 4.789 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01974/2.463, allocations: 5.508 MB / 1.802 GB, free: 2.289 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04602/2.509, allocations: 13.28 MB / 1.815 GB, free: 11.42 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.02169/2.531, allocations: 7.849 MB / 1.823 GB, free: 4.887 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.04421/2.575, allocations: 27.82 MB / 1.85 GB, free: 9.977 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01934/2.595, allocations: 7.888 MB / 1.858 GB, free: 2.074 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03418/2.629, allocations: 10.38 MB / 1.868 GB, free: 8.355 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01393/2.643, allocations: 5.63 MB / 1.873 GB, free: 3.109 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.004871/2.648, allocations: 0.918 MB / 1.874 GB, free: 2.191 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02619/2.674, allocations: 9.685 MB / 1.884 GB, free: 9.488 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.007104/2.681, allocations: 2.963 MB / 1.886 GB, free: 6.551 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.01421/2.695, allocations: 5.213 MB / 1.892 GB, free: 1.348 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.04699/2.742, allocations: 18.21 MB / 1.909 GB, free: 15.77 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/2.742, allocations: 0 / 1.909 GB, free: 15.77 MB / 1.404 GB Notification: Performance of FrontEnd: time 1.674e-06/2.742, allocations: 0 / 1.909 GB, free: 15.77 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.000581/2.743, allocations: 0 / 1.909 GB, free: 15.77 MB / 1.404 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1230 * Number of variables: 1230 Notification: Performance of Generate backend data structure: time 0.0329/2.776, allocations: 10.39 MB / 1.919 GB, free: 5.359 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/2.776, allocations: 8.031 kB / 1.919 GB, free: 5.352 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/2.792, allocations: 2.516 MB / 1.922 GB, free: 2.828 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03795/2.83, allocations: 18.06 MB / 1.94 GB, free: 1.164 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/2.83, allocations: 397.6 kB / 1.94 GB, free: 0.7734 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/2.832, allocations: 0.5102 MB / 1.94 GB, free: 272 kB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/2.848, allocations: 5.935 MB / 1.946 GB, free: 9.938 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/2.848, allocations: 23.75 kB / 1.946 GB, free: 9.914 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/2.849, allocations: 208 kB / 1.946 GB, free: 9.711 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001679/2.85, allocations: 188.5 kB / 1.947 GB, free: 9.523 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/2.861, allocations: 4.576 MB / 1.951 GB, free: 4.93 MB / 1.436 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.05037/2.911, allocations: 31.89 MB / 1.982 GB, free: 3.594 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007912/2.919, allocations: 3.011 MB / 1.985 GB, free: 0.5312 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/2.923, allocations: 1.429 MB / 1.987 GB, free: 15.1 MB / 1.482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/2.925, allocations: 1.472 MB / 1.988 GB, free: 13.33 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004587/2.93, allocations: 1.668 MB / 1.99 GB, free: 11.61 MB / 1.482 GB Notification: Performance of pre-optimization done (n=223): time 8.456e-06/2.93, allocations: 0 / 1.99 GB, free: 11.61 MB / 1.482 GB Notification: Performance of matching and sorting (n=223): time 0.02137/2.951, allocations: 6.161 MB / 1.996 GB, free: 5.375 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000182/2.951, allocations: 415.5 kB / 1.996 GB, free: 4.875 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01904/2.97, allocations: 8.097 MB / 2.004 GB, free: 12.84 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/2.971, allocations: 97.69 kB / 2.004 GB, free: 12.73 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.005084/2.976, allocations: 3.925 MB / 2.008 GB, free: 8.82 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/2.978, allocations: 0.7894 MB / 2.009 GB, free: 8.039 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003555/2.981, allocations: 1.212 MB / 2.01 GB, free: 6.82 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.0001083/2.982, allocations: 305.1 kB / 2.01 GB, free: 6.52 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004853/2.986, allocations: 2.161 MB / 2.012 GB, free: 4.34 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006763/2.993, allocations: 4.063 MB / 2.016 GB, free: 15.45 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/3.005, allocations: 5.653 MB / 2.022 GB, free: 9.09 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.745e-05/3.005, allocations: 12 kB / 2.022 GB, free: 9.078 MB / 1.514 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.02069/3.026, allocations: 7.034 MB / 2.029 GB, free: 1.98 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/3.026, allocations: 24 kB / 2.029 GB, free: 1.957 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.66e-05/3.026, allocations: 52 kB / 2.029 GB, free: 1.906 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/3.029, allocations: 0.7372 MB / 2.029 GB, free: 1.164 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/3.034, allocations: 1.076 MB / 2.03 GB, free: 88 kB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/3.038, allocations: 2.59 MB / 2.033 GB, free: 13.42 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008967/3.047, allocations: 0.7866 MB / 2.034 GB, free: 12.63 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/3.048, allocations: 255.9 kB / 2.034 GB, free: 12.38 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01098/3.059, allocations: 3.746 MB / 2.038 GB, free: 8.625 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008329/3.067, allocations: 3.988 MB / 2.042 GB, free: 3.809 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01166/3.079, allocations: 5.519 MB / 2.047 GB, free: 13.58 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.144e-05/3.079, allocations: 19.94 kB / 2.047 GB, free: 13.56 MB / 1.545 GB Notification: Performance of matching and sorting (n=703) (initialization_lambda0): time 0.01974/3.099, allocations: 6.844 MB / 2.054 GB, free: 6.648 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.616e-05/3.099, allocations: 24 kB / 2.054 GB, free: 6.625 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-05/3.099, allocations: 48 kB / 2.054 GB, free: 6.578 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/3.101, allocations: 0.5435 MB / 2.054 GB, free: 6.027 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005607/3.107, allocations: 1.065 MB / 2.055 GB, free: 4.961 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/3.11, allocations: 2.344 MB / 2.058 GB, free: 2.543 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009028/3.119, allocations: 0.5835 MB / 2.058 GB, free: 1.957 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001237/3.12, allocations: 247.9 kB / 2.058 GB, free: 1.715 MB / 1.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 18 (terUniMulZonMul.con1.y,terUniMul.con1.y,ter.con1.y,ter.hex.flowRegime_nominal,ter.hex.flowRegime,terUniMul.hex.flowRegime_nominal,terUniMul.hex.flowRegime,terUniMulZonMul.hex.flowRegime_nominal,terUniMulZonMul.hex.flowRegime,terUniMulZonMul.greThr.greHys.y,$PRE.terUniMulZonMul.greThr.greHys.y,terUniMul.greThr.greHys.y,$PRE.terUniMul.greThr.greHys.y,ter.greThr.greHys.y,$PRE.ter.greThr.greHys.y,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (555): * Single equations (assignments): 546 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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,15), (1,17), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.002393/3.122, allocations: 0.5013 MB / 2.059 GB, free: 1.211 MB / 1.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003259/3.126, allocations: 0.7752 MB / 2.06 GB, free: 436 kB / 1.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/3.138, allocations: 3.806 MB / 2.063 GB, free: 12.6 MB / 1.561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.333e-05/3.139, allocations: 11.95 kB / 2.063 GB, free: 12.59 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/3.139, allocations: 0 / 2.063 GB, free: 12.59 MB / 1.561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006159/3.145, allocations: 1.267 MB / 2.065 GB, free: 11.29 MB / 1.561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003241/3.148, allocations: 44 kB / 2.065 GB, free: 11.25 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006563/3.155, allocations: 325.1 kB / 2.065 GB, free: 10.93 MB / 1.561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006045/3.155, allocations: 157.6 kB / 2.065 GB, free: 10.78 MB / 1.561 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01281/3.168, allocations: 3.877 MB / 2.069 GB, free: 6.93 MB / 1.561 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01458/3.183, allocations: 5.467 MB / 2.074 GB, free: 1.426 MB / 1.561 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003747/3.187, allocations: 1.316 MB / 2.076 GB, free: 112 kB / 1.561 GB Notification: Performance of sorting global known variables: time 0.01454/3.201, allocations: 5.386 MB / 2.081 GB, free: 10.77 MB / 1.576 GB Notification: Performance of Backend: time 2.074e-06/3.201, allocations: 0 / 2.081 GB, free: 10.77 MB / 1.576 GB Notification: Performance of simCode: created initialization part: time 0.03096/3.232, allocations: 8.81 MB / 2.089 GB, free: 2.148 MB / 1.576 GB Notification: Performance of SimCode: time 0.04452/3.277, allocations: 16.42 MB / 2.105 GB, free: 1.793 MB / 1.592 GB Notification: Performance of Templates: time 1.851/5.128, allocations: 172.4 MB / 2.274 GB, free: 0.6688 GB / 1.686 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.sim & ./Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe 2>&1)