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.001595/0.001595, allocations: 108.6 kB / 16.41 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.001829/0.001829, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 67.89 kB / 1.066 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.051, allocations: 159.1 MB / 1.221 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling): time 1.575/2.625, allocations: 0.5014 GB / 1.722 GB, free: 1.805 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1095/2.735, allocations: 88.63 MB / 1.809 GB, free: 404 kB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0184/2.753, allocations: 327.3 kB / 1.809 GB, free: 400 kB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01693/2.77, allocations: 5.647 MB / 1.815 GB, free: 13.82 MB / 1.311 GB Notification: Performance of NFTyping.typeBindings: time 0.0391/2.81, allocations: 13.87 MB / 1.828 GB, free: 3.348 MB / 1.311 GB Notification: Performance of NFTyping.typeClassSections: time 0.0239/2.834, allocations: 7.845 MB / 1.836 GB, free: 12.18 MB / 1.326 GB Notification: Performance of NFFlatten.flatten: time 0.0471/2.881, allocations: 27.86 MB / 1.863 GB, free: 0.8398 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01765/2.898, allocations: 7.896 MB / 1.871 GB, free: 8.824 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02786/2.926, allocations: 10.51 MB / 1.881 GB, free: 14.29 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/2.938, allocations: 5.634 MB / 1.887 GB, free: 8.648 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.004186/2.942, allocations: 0.9219 MB / 1.887 GB, free: 7.727 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02484/2.967, allocations: 9.722 MB / 1.897 GB, free: 13.98 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.005692/2.972, allocations: 2.952 MB / 1.9 GB, free: 11.02 MB / 1.389 GB Notification: Performance of NFVerifyModel.verify: time 0.01303/2.985, allocations: 5.217 MB / 1.905 GB, free: 5.781 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.04314/3.029, allocations: 18.2 MB / 1.923 GB, free: 3.523 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/3.029, allocations: 0 / 1.923 GB, free: 3.523 MB / 1.404 GB Notification: Performance of FrontEnd: time 1.713e-06/3.029, allocations: 7.938 kB / 1.923 GB, free: 3.516 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.0006074/3.029, allocations: 0 / 1.923 GB, free: 3.516 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.03498/3.064, allocations: 10.38 MB / 1.933 GB, free: 9.004 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/3.064, allocations: 12.62 kB / 1.933 GB, free: 8.992 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01703/3.081, allocations: 2.513 MB / 1.935 GB, free: 6.465 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04853/3.13, allocations: 18.05 MB / 1.953 GB, free: 4.297 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009114/3.131, allocations: 405.6 kB / 1.953 GB, free: 3.898 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002836/3.134, allocations: 0.5078 MB / 1.954 GB, free: 3.391 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/3.161, allocations: 5.932 MB / 1.96 GB, free: 13.05 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002885/3.161, allocations: 15.88 kB / 1.96 GB, free: 13.04 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/3.164, allocations: 215.9 kB / 1.96 GB, free: 12.83 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002917/3.164, allocations: 184.5 kB / 1.96 GB, free: 12.64 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02097/3.185, allocations: 4.576 MB / 1.964 GB, free: 8.051 MB / 1.451 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.0832/3.268, allocations: 31.9 MB / 1.996 GB, free: 6.469 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/3.281, allocations: 2.996 MB / 1.999 GB, free: 3.426 MB / 1.482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006097/3.287, allocations: 1.436 MB / 2 GB, free: 1.984 MB / 1.482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002767/3.29, allocations: 1.466 MB / 2.001 GB, free: 208 kB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007651/3.298, allocations: 1.665 MB / 2.003 GB, free: 14.49 MB / 1.498 GB Notification: Performance of pre-optimization done (n=223): time 1.137e-05/3.298, allocations: 0 / 2.003 GB, free: 14.49 MB / 1.498 GB Notification: Performance of matching and sorting (n=223): time 0.02585/3.324, allocations: 6.163 MB / 2.009 GB, free: 8.25 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003038/3.324, allocations: 415.6 kB / 2.009 GB, free: 7.754 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02502/3.349, allocations: 8.101 MB / 2.017 GB, free: 15.71 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/3.35, allocations: 97.7 kB / 2.017 GB, free: 15.61 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.00642/3.357, allocations: 3.93 MB / 2.021 GB, free: 11.65 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.002106/3.359, allocations: 0.7859 MB / 2.022 GB, free: 10.86 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002947/3.362, allocations: 1.213 MB / 2.023 GB, free: 9.633 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 0.0001267/3.362, allocations: 305.1 kB / 2.024 GB, free: 9.332 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005497/3.368, allocations: 2.165 MB / 2.026 GB, free: 7.152 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009129/3.377, allocations: 4.067 MB / 2.03 GB, free: 2.258 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/3.39, allocations: 5.637 MB / 2.035 GB, free: 11.91 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.801e-05/3.39, allocations: 12 kB / 2.035 GB, free: 11.9 MB / 1.529 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.02313/3.413, allocations: 7.038 MB / 2.042 GB, free: 4.793 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 7.626e-05/3.414, allocations: 28 kB / 2.042 GB, free: 4.766 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/3.414, allocations: 48 kB / 2.042 GB, free: 4.719 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/3.417, allocations: 0.7433 MB / 2.043 GB, free: 3.969 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005638/3.422, allocations: 1.073 MB / 2.044 GB, free: 2.895 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/3.427, allocations: 2.597 MB / 2.046 GB, free: 228 kB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01054/3.437, allocations: 0.7706 MB / 2.047 GB, free: 15.45 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/3.439, allocations: 251.9 kB / 2.047 GB, free: 15.2 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01116/3.45, allocations: 3.743 MB / 2.051 GB, free: 11.45 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007561/3.458, allocations: 3.996 MB / 2.055 GB, free: 6.621 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01205/3.47, allocations: 5.511 MB / 2.06 GB, free: 416 kB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.969e-05/3.47, allocations: 16 kB / 2.06 GB, free: 400 kB / 1.545 GB Notification: Performance of matching and sorting (n=703) (initialization_lambda0): time 0.02054/3.491, allocations: 6.855 MB / 2.067 GB, free: 9.465 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/3.491, allocations: 24 kB / 2.067 GB, free: 9.441 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.946e-05/3.491, allocations: 52 kB / 2.067 GB, free: 9.391 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002034/3.493, allocations: 0.5423 MB / 2.068 GB, free: 8.844 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005321/3.498, allocations: 1.061 MB / 2.069 GB, free: 7.781 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/3.501, allocations: 2.346 MB / 2.071 GB, free: 5.359 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/3.512, allocations: 0.5932 MB / 2.072 GB, free: 4.766 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001608/3.513, allocations: 247.9 kB / 2.072 GB, free: 4.523 MB / 1.561 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.003382/3.517, allocations: 0.4942 MB / 2.072 GB, free: 4.02 MB / 1.561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00429/3.521, allocations: 0.7791 MB / 2.073 GB, free: 3.23 MB / 1.561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/3.536, allocations: 3.81 MB / 2.077 GB, free: 15.39 MB / 1.576 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.831e-05/3.536, allocations: 11.95 kB / 2.077 GB, free: 15.38 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/3.536, allocations: 4 kB / 2.077 GB, free: 15.38 MB / 1.576 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006763/3.543, allocations: 1.256 MB / 2.078 GB, free: 14.09 MB / 1.576 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004357/3.547, allocations: 51.88 kB / 2.078 GB, free: 14.04 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009557/3.557, allocations: 333.1 kB / 2.078 GB, free: 13.71 MB / 1.576 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/3.558, allocations: 153.8 kB / 2.078 GB, free: 13.56 MB / 1.576 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01818/3.576, allocations: 3.878 MB / 2.082 GB, free: 9.668 MB / 1.576 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01827/3.595, allocations: 5.455 MB / 2.088 GB, free: 4.176 MB / 1.576 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004431/3.599, allocations: 1.319 MB / 2.089 GB, free: 2.859 MB / 1.576 GB Notification: Performance of sorting global known variables: time 0.01746/3.617, allocations: 5.377 MB / 2.094 GB, free: 13.53 MB / 1.592 GB Notification: Performance of Backend: time 1.523e-06/3.617, allocations: 0 / 2.094 GB, free: 13.53 MB / 1.592 GB Notification: Performance of simCode: created initialization part: time 0.03599/3.653, allocations: 8.801 MB / 2.103 GB, free: 4.777 MB / 1.592 GB Notification: Performance of SimCode: time 0.05404/3.707, allocations: 16.44 MB / 2.119 GB, free: 4.391 MB / 1.607 GB Notification: Performance of Templates: time 1.105/4.812, allocations: 172.4 MB / 2.287 GB, free: 0.6523 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)