Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Validation.TerminalUnitScaling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling") translateModel(Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 103.1 kB / 16.36 MB, free: 6.266 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.001193/0.001193, allocations: 193.1 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 72.22 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2121, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling): time 1.31/1.522, allocations: 0.4978 GB / 1.283 GB, free: 1.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1032/1.626, allocations: 88.16 MB / 1.369 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/1.637, allocations: 304.2 kB / 1.369 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.01255/1.65, allocations: 4.596 MB / 1.373 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.03468/1.685, allocations: 13.46 MB / 1.387 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01753/1.702, allocations: 7.527 MB / 1.394 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.02631/1.729, allocations: 20.42 MB / 1.414 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01335/1.742, allocations: 8.094 MB / 1.422 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02173/1.764, allocations: 10.25 MB / 1.432 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/1.774, allocations: 5.866 MB / 1.438 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.003079/1.777, allocations: 0.9805 MB / 1.438 GB, free: 11.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02048/1.798, allocations: 10.41 MB / 1.449 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004152/1.802, allocations: 2.757 MB / 1.451 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.008974/1.811, allocations: 4.878 MB / 1.456 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.02959/1.841, allocations: 17.72 MB / 1.473 GB, free: 9.168 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/1.841, allocations: 0 / 1.473 GB, free: 9.168 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.627e-06/1.841, allocations: 4 kB / 1.473 GB, free: 9.164 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004576/1.841, allocations: 3.938 kB / 1.473 GB, free: 9.16 MB / 1.045 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.02187/1.863, allocations: 9.453 MB / 1.483 GB, free: 15.72 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.863, allocations: 8.031 kB / 1.483 GB, free: 15.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01542/1.879, allocations: 2.479 MB / 1.485 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01521/1.894, allocations: 7.247 MB / 1.492 GB, free: 6.043 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/1.894, allocations: 425.8 kB / 1.493 GB, free: 5.629 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/1.896, allocations: 0.5468 MB / 1.493 GB, free: 5.082 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/1.912, allocations: 6.209 MB / 1.499 GB, free: 14.69 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/1.912, allocations: 7.938 kB / 1.499 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001199/1.913, allocations: 208 kB / 1.499 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/1.914, allocations: 193.5 kB / 1.5 GB, free: 14.29 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/1.929, allocations: 5.487 MB / 1.505 GB, free: 8.785 MB / 1.076 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.04848/1.977, allocations: 29.51 MB / 1.534 GB, free: 9.84 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/1.989, allocations: 4.16 MB / 1.538 GB, free: 5.617 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005602/1.995, allocations: 2.082 MB / 1.54 GB, free: 3.523 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001835/1.997, allocations: 1.611 MB / 1.541 GB, free: 1.59 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006125/2.003, allocations: 2.264 MB / 1.544 GB, free: 15.28 MB / 1.123 GB Notification: Performance of pre-optimization done (n=307): time 7.755e-06/2.003, allocations: 0 / 1.544 GB, free: 15.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=307): time 0.0257/2.029, allocations: 7.654 MB / 1.551 GB, free: 7.52 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/2.029, allocations: 188.6 kB / 1.551 GB, free: 7.297 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/2.041, allocations: 5.997 MB / 1.557 GB, free: 1.336 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0008996/2.042, allocations: 109.7 kB / 1.557 GB, free: 1.223 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.6585/2.7, allocations: 3.32 MB / 1.56 GB, free: 486.7 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001474/2.702, allocations: 1.04 MB / 1.561 GB, free: 486.4 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/2.703, allocations: 0.8832 MB / 1.562 GB, free: 486.4 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/2.703, allocations: 305.7 kB / 1.563 GB, free: 486.1 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/2.708, allocations: 1.96 MB / 1.565 GB, free: 486 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/2.714, allocations: 3.382 MB / 1.568 GB, free: 484.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/2.724, allocations: 4.886 MB / 1.573 GB, free: 481.8 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.715e-05/2.724, allocations: 16.44 kB / 1.573 GB, free: 481.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01687/2.741, allocations: 6.129 MB / 1.579 GB, free: 479.6 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/2.741, allocations: 17.84 kB / 1.579 GB, free: 479.6 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.865e-05/2.741, allocations: 30.31 kB / 1.579 GB, free: 479.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/2.744, allocations: 0.7521 MB / 1.579 GB, free: 479.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005501/2.749, allocations: 1.026 MB / 1.58 GB, free: 479.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/2.753, allocations: 4.39 MB / 1.585 GB, free: 475.8 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006953/2.76, allocations: 0.67 MB / 1.585 GB, free: 475.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/2.761, allocations: 213.6 kB / 1.586 GB, free: 475.4 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008088/2.77, allocations: 3.166 MB / 1.589 GB, free: 474 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006327/2.776, allocations: 3.232 MB / 1.592 GB, free: 471.6 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01011/2.786, allocations: 4.631 MB / 1.596 GB, free: 469 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.35e-05/2.786, allocations: 8.281 kB / 1.596 GB, free: 469 MB / 1.123 GB Notification: Performance of matching and sorting (n=523) (initialization_lambda0): time 0.01484/2.801, allocations: 5.761 MB / 1.602 GB, free: 466.7 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.875e-05/2.801, allocations: 18.53 kB / 1.602 GB, free: 466.7 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.016e-05/2.801, allocations: 36.5 kB / 1.602 GB, free: 466.7 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/2.803, allocations: 0.5522 MB / 1.603 GB, free: 466.6 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/2.808, allocations: 0.947 MB / 1.603 GB, free: 466.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/2.81, allocations: 2.364 MB / 1.606 GB, free: 464.6 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006766/2.817, allocations: 0.543 MB / 1.606 GB, free: 464.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007437/2.818, allocations: 201.7 kB / 1.606 GB, free: 464.3 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (468): * Single equations (assignments): 459 * 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.001202/2.819, allocations: 456.5 kB / 1.607 GB, free: 464 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/2.821, allocations: 0.6673 MB / 1.608 GB, free: 463.6 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/2.833, allocations: 5.173 MB / 1.613 GB, free: 461.6 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009666/2.843, allocations: 4.067 MB / 1.617 GB, free: 459.9 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/2.843, allocations: 12.05 kB / 1.617 GB, free: 459.9 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0033/2.846, allocations: 1.281 MB / 1.618 GB, free: 459 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001453/2.847, allocations: 60.98 kB / 1.618 GB, free: 459 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0048/2.852, allocations: 291.4 kB / 1.618 GB, free: 458.9 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005035/2.853, allocations: 199.8 kB / 1.618 GB, free: 458.9 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01547/2.868, allocations: 5.042 MB / 1.623 GB, free: 457.2 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01535/2.884, allocations: 7.02 MB / 1.63 GB, free: 454.2 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004127/2.888, allocations: 1.911 MB / 1.632 GB, free: 453.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.006064/2.894, allocations: 4.019 MB / 1.636 GB, free: 452 MB / 1.123 GB Notification: Performance of Backend: time 5.51e-07/2.894, allocations: 3.938 kB / 1.636 GB, free: 452 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0202/2.914, allocations: 7.968 MB / 1.644 GB, free: 449.6 MB / 1.123 GB Notification: Performance of SimCode: time 0.0261/2.94, allocations: 14.82 MB / 1.658 GB, free: 442.2 MB / 1.123 GB Notification: Performance of Templates: time 0.2089/3.149, allocations: 163.1 MB / 1.817 GB, free: 281.8 MB / 1.123 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling.pipe 2>&1)