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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.608/1.608, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 190.2 kB / 376.9 MB, free: 1.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009988/0.0009988, allocations: 106.6 kB / 0.748 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 51.92 kB / 0.8704 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2416, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling): time 1.483/1.724, allocations: 0.4955 GB / 1.478 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.106/1.83, allocations: 88.88 MB / 1.564 GB, free: 9.727 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01382/1.844, allocations: 279 kB / 1.565 GB, free: 9.727 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01343/1.858, allocations: 3.819 MB / 1.568 GB, free: 7.828 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.04019/1.898, allocations: 12.56 MB / 1.581 GB, free: 1.941 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02061/1.918, allocations: 6.824 MB / 1.587 GB, free: 13.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0323/1.951, allocations: 25.67 MB / 1.612 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0151/1.966, allocations: 6.716 MB / 1.619 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02408/1.99, allocations: 8.866 MB / 1.628 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01359/2.004, allocations: 5.821 MB / 1.633 GB, free: 2.074 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.003713/2.007, allocations: 404 kB / 1.634 GB, free: 1.68 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02583/2.033, allocations: 11.1 MB / 1.645 GB, free: 7.684 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.005233/2.038, allocations: 2.201 MB / 1.647 GB, free: 5.52 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.01336/2.052, allocations: 4.262 MB / 1.651 GB, free: 1.273 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.03458/2.086, allocations: 17.75 MB / 1.668 GB, free: 252 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/2.087, allocations: 0 / 1.668 GB, free: 252 kB / 1.026 GB Notification: Performance of FrontEnd: time 1.643e-06/2.087, allocations: 0 / 1.668 GB, free: 252 kB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0005367/2.087, allocations: 0 / 1.668 GB, free: 252 kB / 1.026 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.02536/2.112, allocations: 9.484 MB / 1.678 GB, free: 6.773 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/2.113, allocations: 16.02 kB / 1.678 GB, free: 6.758 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/2.127, allocations: 2.468 MB / 1.68 GB, free: 4.289 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01568/2.143, allocations: 6.995 MB / 1.687 GB, free: 13.36 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002103/2.145, allocations: 0.7486 MB / 1.687 GB, free: 12.61 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001737/2.147, allocations: 0.5459 MB / 1.688 GB, free: 12.07 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/2.163, allocations: 6.201 MB / 1.694 GB, free: 5.723 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/2.163, allocations: 11.94 kB / 1.694 GB, free: 5.711 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009961/2.164, allocations: 207.5 kB / 1.694 GB, free: 5.512 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/2.164, allocations: 189.6 kB / 1.694 GB, free: 5.324 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01403/2.178, allocations: 5.612 MB / 1.7 GB, free: 15.7 MB / 1.073 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.04768/2.226, allocations: 28.75 MB / 1.728 GB, free: 1.535 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/2.237, allocations: 4.187 MB / 1.732 GB, free: 13.29 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004789/2.241, allocations: 2.129 MB / 1.734 GB, free: 11.16 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00164/2.243, allocations: 1.614 MB / 1.736 GB, free: 9.223 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005637/2.249, allocations: 2.323 MB / 1.738 GB, free: 6.855 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003357/2.252, allocations: 444.1 kB / 1.738 GB, free: 6.418 MB / 1.104 GB Notification: Performance of pre-optimization done (n=313): time 1.355e-05/2.252, allocations: 0 / 1.738 GB, free: 6.418 MB / 1.104 GB Notification: Performance of matching and sorting (n=313): time 0.02313/2.275, allocations: 7.685 MB / 1.746 GB, free: 14.62 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/2.275, allocations: 196.6 kB / 1.746 GB, free: 14.39 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/2.286, allocations: 5.968 MB / 1.752 GB, free: 8.457 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0008706/2.287, allocations: 113.7 kB / 1.752 GB, free: 8.34 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.002937/2.29, allocations: 3.315 MB / 1.755 GB, free: 5.023 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/2.291, allocations: 1.06 MB / 1.756 GB, free: 3.973 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001332/2.292, allocations: 0.8733 MB / 1.757 GB, free: 3.082 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/2.292, allocations: 305.1 kB / 1.758 GB, free: 2.781 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004504/2.297, allocations: 1.987 MB / 1.759 GB, free: 0.7734 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005624/2.302, allocations: 3.355 MB / 1.763 GB, free: 12.84 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009415/2.312, allocations: 4.884 MB / 1.767 GB, free: 7.543 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/2.312, allocations: 11.94 kB / 1.768 GB, free: 7.531 MB / 1.135 GB Notification: Performance of matching and sorting (n=520) (initialization): time 0.01406/2.326, allocations: 6.154 MB / 1.774 GB, free: 1.336 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/2.326, allocations: 18.34 kB / 1.774 GB, free: 1.32 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.737e-05/2.326, allocations: 32.06 kB / 1.774 GB, free: 1.289 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/2.329, allocations: 0.7382 MB / 1.774 GB, free: 0.543 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004511/2.333, allocations: 1.038 MB / 1.775 GB, free: 15.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003933/2.337, allocations: 4.388 MB / 1.78 GB, free: 10.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006979/2.344, allocations: 0.6273 MB / 1.78 GB, free: 10.35 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005609/2.345, allocations: 211 kB / 1.78 GB, free: 10.14 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006731/2.351, allocations: 3.194 MB / 1.784 GB, free: 6.938 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005103/2.356, allocations: 3.203 MB / 1.787 GB, free: 3.152 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008627/2.365, allocations: 4.639 MB / 1.791 GB, free: 14.09 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.289e-05/2.365, allocations: 8 kB / 1.791 GB, free: 14.09 MB / 1.167 GB Notification: Performance of matching and sorting (n=520) (initialization_lambda0): time 0.01288/2.378, allocations: 5.768 MB / 1.797 GB, free: 8.273 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/2.378, allocations: 16 kB / 1.797 GB, free: 8.258 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/2.378, allocations: 28 kB / 1.797 GB, free: 8.23 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/2.38, allocations: 0.5399 MB / 1.797 GB, free: 7.684 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/2.384, allocations: 0.9634 MB / 1.798 GB, free: 6.719 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/2.386, allocations: 2.368 MB / 1.801 GB, free: 4.277 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006229/2.392, allocations: 0.5633 MB / 1.801 GB, free: 3.719 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004556/2.392, allocations: 195.9 kB / 1.801 GB, free: 3.527 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (465): * Single equations (assignments): 456 * 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.001003/2.393, allocations: 446.5 kB / 1.802 GB, free: 3.086 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/2.395, allocations: 0.6676 MB / 1.802 GB, free: 2.41 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/2.406, allocations: 5.2 MB / 1.808 GB, free: 13.15 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/2.406, allocations: 39.94 kB / 1.808 GB, free: 13.11 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/2.406, allocations: 0 / 1.808 GB, free: 13.11 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008692/2.415, allocations: 4.098 MB / 1.812 GB, free: 8.902 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.8396/3.255, allocations: 14.39 MB / 1.826 GB, free: 0.496 GB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/3.255, allocations: 11.56 kB / 1.826 GB, free: 0.496 GB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003509/3.258, allocations: 0.7295 MB / 1.826 GB, free: 0.496 GB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002116/3.26, allocations: 0.619 MB / 1.827 GB, free: 0.496 GB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000329/3.261, allocations: 98.69 kB / 1.827 GB, free: 0.496 GB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/3.264, allocations: 4.311 MB / 1.831 GB, free: 0.4927 GB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/3.264, allocations: 15.45 kB / 1.831 GB, free: 0.4927 GB / 1.182 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "ter.hex.flowRegime = if ter.hex.C1_flow * ter.hex.C2_flow >= 0.0 then Buildings.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else Buildings.Fluid.Types.HeatExchangerFlowRegime.ParallelFlow" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0374/3.302, allocations: 13.59 MB / 1.845 GB, free: 0.49 GB / 1.182 GB Error: post-optimization module symbolicJacobian (simulation) failed.