Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.039/2.039, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 203.9 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 0.7948 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009973, allocations: 119.5 kB / 0.9329 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 50.44 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2393, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.FlowDistributionPumpControl): time 2.003/2.242, allocations: 1.049 GB / 2.267 GB, free: 8.289 MB / 1.26 GB Notification: Performance of NFInst.instExpressions: time 1.172/3.414, allocations: 186.8 MB / 2.449 GB, free: 5.332 MB / 1.432 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0428/3.456, allocations: 0.776 MB / 2.45 GB, free: 5.332 MB / 1.432 GB Notification: Performance of NFTyping.typeComponents: time 0.026/3.482, allocations: 7.147 MB / 2.457 GB, free: 5.328 MB / 1.432 GB Notification: Performance of NFTyping.typeBindings: time 0.06912/3.552, allocations: 22 MB / 2.479 GB, free: 5.148 MB / 1.432 GB Notification: Performance of NFTyping.typeClassSections: time 0.03678/3.588, allocations: 13.57 MB / 2.492 GB, free: 4.922 MB / 1.432 GB Notification: Performance of NFFlatten.flatten: time 0.3084/3.897, allocations: 186.6 MB / 2.674 GB, free: 8.125 MB / 1.479 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1049/4.002, allocations: 55.54 MB / 2.728 GB, free: 11.05 MB / 1.526 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09647/4.098, allocations: 41.09 MB / 2.768 GB, free: 3.586 MB / 1.557 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07629/4.175, allocations: 39.89 MB / 2.807 GB, free: 14.81 MB / 1.604 GB Notification: Performance of NFPackage.collectConstants: time 0.01745/4.192, allocations: 2.609 MB / 2.81 GB, free: 12.2 MB / 1.604 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05901/4.251, allocations: 15.68 MB / 2.825 GB, free: 13.79 MB / 1.62 GB Notification: Performance of NFScalarize.scalarize: time 0.03296/4.284, allocations: 13.88 MB / 2.839 GB, free: 208 kB / 1.62 GB Notification: Performance of NFVerifyModel.verify: time 0.07286/4.357, allocations: 28.79 MB / 2.867 GB, free: 3.504 MB / 1.651 GB Notification: Performance of NFConvertDAE.convert: time 0.1374/4.494, allocations: 103.7 MB / 2.968 GB, free: 14.2 MB / 1.76 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/4.495, allocations: 0 / 2.968 GB, free: 14.2 MB / 1.76 GB Notification: Performance of FrontEnd: time 1.884e-06/4.495, allocations: 0 / 2.968 GB, free: 14.2 MB / 1.76 GB Notification: Performance of Transformations before backend: time 0.003256/4.498, allocations: 4 kB / 2.968 GB, free: 14.2 MB / 1.76 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8432 * Number of variables: 8432 Notification: Performance of Generate backend data structure: time 0.1704/4.668, allocations: 63.99 MB / 3.031 GB, free: 14.52 MB / 1.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/4.668, allocations: 15.98 kB / 3.031 GB, free: 14.51 MB / 1.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1005/4.769, allocations: 20.53 MB / 3.051 GB, free: 9.926 MB / 1.839 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.071/5.84, allocations: 60.27 MB / 3.11 GB, free: 0.9871 GB / 1.886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0167/5.857, allocations: 5.626 MB / 3.115 GB, free: 0.987 GB / 1.886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01499/5.872, allocations: 3.477 MB / 3.118 GB, free: 0.987 GB / 1.886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.136/6.008, allocations: 55.84 MB / 3.173 GB, free: 0.9724 GB / 1.886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001346/6.009, allocations: 67.22 kB / 3.173 GB, free: 0.9724 GB / 1.886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01161/6.021, allocations: 1.346 MB / 3.174 GB, free: 0.9714 GB / 1.886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001643/6.022, allocations: 1.252 MB / 3.176 GB, free: 0.9713 GB / 1.886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1195/6.142, allocations: 54.4 MB / 3.229 GB, free: 0.9452 GB / 1.886 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.338/6.48, allocations: 238.3 MB / 3.461 GB, free: 0.7075 GB / 1.886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06977/6.55, allocations: 36.73 MB / 3.497 GB, free: 0.6715 GB / 1.886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03135/6.581, allocations: 17.53 MB / 3.514 GB, free: 0.6543 GB / 1.886 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 evalFunc (simulation): time 0.1152/6.696, allocations: 52.3 MB / 3.566 GB, free: 0.6033 GB / 1.886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03607/6.732, allocations: 18.03 MB / 3.583 GB, free: 0.5856 GB / 1.886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02065/6.753, allocations: 2.275 MB / 3.585 GB, free: 0.5834 GB / 1.886 GB Notification: Performance of pre-optimization done (n=1654): time 3.515e-05/6.753, allocations: 0 / 3.585 GB, free: 0.5834 GB / 1.886 GB Notification: Performance of matching and sorting (n=1654): time 0.2298/6.983, allocations: 80.15 MB / 3.664 GB, free: 0.5048 GB / 1.886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/6.983, allocations: 0.7038 MB / 3.664 GB, free: 0.504 GB / 1.886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1073/7.09, allocations: 56.43 MB / 3.719 GB, free: 460 MB / 1.886 GB Notification: Performance of collectPreVariables (initialization): time 0.005787/7.096, allocations: 496.1 kB / 3.72 GB, free: 459.5 MB / 1.886 GB Notification: Performance of collectInitialEqns (initialization): time 0.03234/7.128, allocations: 25.89 MB / 3.745 GB, free: 433.4 MB / 1.886 GB Notification: Performance of collectInitialBindings (initialization): time 0.008004/7.137, allocations: 5.771 MB / 3.751 GB, free: 427.7 MB / 1.886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02071/7.157, allocations: 5.899 MB / 3.757 GB, free: 421.8 MB / 1.886 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/7.157, allocations: 309.1 kB / 3.757 GB, free: 421.5 MB / 1.886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04009/7.197, allocations: 19.47 MB / 3.776 GB, free: 402 MB / 1.886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0457/7.243, allocations: 29.21 MB / 3.804 GB, free: 368.8 MB / 1.886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07293/7.316, allocations: 42.7 MB / 3.846 GB, free: 323 MB / 1.886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001772/7.316, allocations: 64 kB / 3.846 GB, free: 322.9 MB / 1.886 GB Notification: Performance of matching and sorting (n=3189) (initialization): time 0.1192/7.436, allocations: 53.8 MB / 3.899 GB, free: 269 MB / 1.886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/7.436, allocations: 96 kB / 3.899 GB, free: 268.9 MB / 1.886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002334/7.436, allocations: 228.1 kB / 3.899 GB, free: 268.6 MB / 1.886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02107/7.457, allocations: 7.801 MB / 3.907 GB, free: 260.8 MB / 1.886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03101/7.488, allocations: 7.374 MB / 3.914 GB, free: 253.5 MB / 1.886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/7.508, allocations: 23.04 MB / 3.936 GB, free: 229.9 MB / 1.886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05009/7.559, allocations: 6.552 MB / 3.943 GB, free: 223.3 MB / 1.886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006283/7.565, allocations: 1.316 MB / 3.944 GB, free: 222 MB / 1.886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0634/7.628, allocations: 35.72 MB / 3.979 GB, free: 186.2 MB / 1.886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04363/7.672, allocations: 28.09 MB / 4.006 GB, free: 154.2 MB / 1.886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06619/7.738, allocations: 40.74 MB / 4.046 GB, free: 110.4 MB / 1.886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001831/7.738, allocations: 64 kB / 4.046 GB, free: 110.3 MB / 1.886 GB Notification: Performance of matching and sorting (n=3189) (initialization_lambda0): time 0.1002/7.839, allocations: 50.36 MB / 4.095 GB, free: 59.77 MB / 1.886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/7.839, allocations: 100 kB / 4.095 GB, free: 59.67 MB / 1.886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/7.839, allocations: 220.1 kB / 4.096 GB, free: 59.45 MB / 1.886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007812/7.847, allocations: 3.552 MB / 4.099 GB, free: 55.88 MB / 1.886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02859/7.875, allocations: 7.289 MB / 4.106 GB, free: 48.57 MB / 1.886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/7.89, allocations: 15.72 MB / 4.122 GB, free: 32.47 MB / 1.886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05105/7.941, allocations: 6.242 MB / 4.128 GB, free: 26.23 MB / 1.886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005754/7.947, allocations: 1.26 MB / 4.129 GB, free: 24.97 MB / 1.886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 995 * Number of states: 0 () * Number of discrete variables: 85 ($PRE.loa.nextTimeEvent,$whenCondition1,terUniHea2[5].con1.y,terUniHea2[4].con1.y,terUniHea2[3].con1.y,terUniHea2[2].con1.y,terUniHea2[1].con1.y,terUniHea1[5].con1.y,terUniHea1[4].con1.y,terUniHea1[3].con1.y,terUniHea1[2].con1.y,terUniHea1[1].con1.y,terUniHea[5].con1.y,terUniHea[5].con.con1.y,terUniHea[4].con1.y,terUniHea[4].con.con1.y,terUniHea[3].con1.y,terUniHea[3].con.con1.y,terUniHea[2].con1.y,terUniHea[2].con.con1.y,terUniHea[1].con1.y,terUniHea[1].con.con1.y,terUniHea2[5].hex.flowRegime_nominal,terUniHea2[4].hex.flowRegime_nominal,terUniHea2[3].hex.flowRegime_nominal,terUniHea2[2].hex.flowRegime_nominal,terUniHea2[1].hex.flowRegime_nominal,terUniHea1[5].hex.flowRegime_nominal,terUniHea1[4].hex.flowRegime_nominal,terUniHea1[3].hex.flowRegime_nominal,terUniHea1[2].hex.flowRegime_nominal,terUniHea1[1].hex.flowRegime_nominal,terUniHea[5].hex.flowRegime_nominal,terUniHea[4].hex.flowRegime_nominal,terUniHea[3].hex.flowRegime_nominal,terUniHea[2].hex.flowRegime_nominal,terUniHea[1].hex.flowRegime_nominal,terUniHea2[5].greThr.greHys.y,$PRE.terUniHea2[5].greThr.greHys.y,terUniHea2[5].hex.flowRegime,terUniHea2[4].greThr.greHys.y,$PRE.terUniHea2[4].greThr.greHys.y,terUniHea2[4].hex.flowRegime,terUniHea2[3].greThr.greHys.y,$PRE.terUniHea2[3].greThr.greHys.y,terUniHea2[3].hex.flowRegime,terUniHea2[2].greThr.greHys.y,$PRE.terUniHea2[2].greThr.greHys.y,terUniHea2[2].hex.flowRegime,terUniHea2[1].greThr.greHys.y,$PRE.terUniHea2[1].greThr.greHys.y,terUniHea2[1].hex.flowRegime,terUniHea1[5].greThr.greHys.y,$PRE.terUniHea1[5].greThr.greHys.y,terUniHea1[5].hex.flowRegime,terUniHea1[4].greThr.greHys.y,$PRE.terUniHea1[4].greThr.greHys.y,terUniHea1[4].hex.flowRegime,terUniHea1[3].greThr.greHys.y,$PRE.terUniHea1[3].greThr.greHys.y,terUniHea1[3].hex.flowRegime,terUniHea1[2].greThr.greHys.y,$PRE.terUniHea1[2].greThr.greHys.y,terUniHea1[2].hex.flowRegime,terUniHea1[1].greThr.greHys.y,$PRE.terUniHea1[1].greThr.greHys.y,terUniHea1[1].hex.flowRegime,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,loa.nextTimeEvent,terUniHea[5].hex.flowRegime,terUniHea[4].hex.flowRegime,terUniHea[3].hex.flowRegime,terUniHea[2].hex.flowRegime,terUniHea[1].hex.flowRegime,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2855): * Single equations (assignments): 2814 * Array equations: 19 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 11 * Torn equation systems: 11 * 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): 11 systems {1, 1, 1, 1, 1, 1, 1, 1, 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): 11 systems {(6,134), (1,17), (1,17), (1,17), (1,17), (1,17), (1,17), (1,17), (1,17), (1,17), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.009082/7.956, allocations: 1.847 MB / 4.131 GB, free: 23.11 MB / 1.886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01126/7.968, allocations: 4.463 MB / 4.135 GB, free: 18.59 MB / 1.886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.087/9.055, allocations: 41.9 MB / 4.176 GB, free: 0.9253 GB / 1.886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001705/9.055, allocations: 172.4 kB / 4.176 GB, free: 0.9253 GB / 1.886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/9.055, allocations: 3.969 kB / 4.176 GB, free: 0.9253 GB / 1.886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07065/9.126, allocations: 31.21 MB / 4.207 GB, free: 0.9167 GB / 1.886 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.2306/9.356, allocations: 120.2 MB / 4.324 GB, free: 0.8681 GB / 1.886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001543/9.357, allocations: 41.94 kB / 4.324 GB, free: 0.8681 GB / 1.886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02006/9.377, allocations: 4.369 MB / 4.328 GB, free: 0.8667 GB / 1.886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01573/9.392, allocations: 6.106 MB / 4.334 GB, free: 0.8608 GB / 1.886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004098/9.397, allocations: 0.5425 MB / 4.335 GB, free: 0.8603 GB / 1.886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/9.415, allocations: 22.62 MB / 4.357 GB, free: 0.8378 GB / 1.886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.681e-05/9.416, allocations: 63.75 kB / 4.357 GB, free: 0.8378 GB / 1.886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "terUniHea[5].hex.flowRegime = if terUniHea[5].hex.C1_flow * terUniHea[5].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.1968/9.612, allocations: 100.2 MB / 4.455 GB, free: 0.7423 GB / 1.886 GB Error: post-optimization module symbolicJacobian (simulation) failed.