Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries.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.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.578/1.578, 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.00132/0.00132, allocations: 192.4 kB / 376.9 MB, free: 1.809 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.365/1.365, 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.0009241/0.0009238, allocations: 109 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00097/0.00097, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2339, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeries): time 1.61/1.844, allocations: 0.6946 GB / 1.677 GB, free: 13.62 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.1849/2.029, allocations: 137.6 MB / 1.811 GB, free: 3.688 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03425/2.063, allocations: 0.5433 MB / 1.812 GB, free: 3.141 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 0.9302/2.994, allocations: 4.635 MB / 1.816 GB, free: 3.125 MB / 1.135 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.04613/3.04, allocations: 13.95 MB / 1.83 GB, free: 3.043 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.0283/3.068, allocations: 9.071 MB / 1.839 GB, free: 2.93 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.1856/3.254, allocations: 39.34 MB / 1.877 GB, free: 1.832 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02629/3.28, allocations: 8.745 MB / 1.886 GB, free: 16.53 MB / 1.151 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03425/3.314, allocations: 10.18 MB / 1.896 GB, free: 16.49 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02236/3.337, allocations: 6.912 MB / 1.902 GB, free: 15.25 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.006237/3.343, allocations: 472.7 kB / 1.903 GB, free: 15.25 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0323/3.375, allocations: 9.645 MB / 1.912 GB, free: 15.23 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.007779/3.383, allocations: 2.461 MB / 1.915 GB, free: 14.85 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.01763/3.401, allocations: 5.152 MB / 1.92 GB, free: 13.35 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.04434/3.445, allocations: 22.35 MB / 1.942 GB, free: 6.457 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/3.445, allocations: 7.938 kB / 1.942 GB, free: 6.449 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.186e-06/3.445, allocations: 0 / 1.942 GB, free: 6.449 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005982/3.446, allocations: 2.438 kB / 1.942 GB, free: 6.449 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1459 * Number of variables: 1459 Notification: Performance of Generate backend data structure: time 0.03379/3.48, allocations: 11.35 MB / 1.953 GB, free: 0.5586 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/3.48, allocations: 8.688 kB / 1.953 GB, free: 0.5586 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01326/3.493, allocations: 2.271 MB / 1.955 GB, free: 15.58 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/3.514, allocations: 10.1 MB / 1.965 GB, free: 12.13 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002206/3.516, allocations: 0.8966 MB / 1.966 GB, free: 11.87 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002623/3.519, allocations: 0.6147 MB / 1.966 GB, free: 11.86 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/3.539, allocations: 7.304 MB / 1.973 GB, free: 9.91 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/3.539, allocations: 21.02 kB / 1.973 GB, free: 9.902 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007357/3.54, allocations: 238.8 kB / 1.974 GB, free: 9.902 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/3.54, allocations: 220.7 kB / 1.974 GB, free: 9.887 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/3.554, allocations: 6.163 MB / 1.98 GB, free: 7.426 MB / 1.167 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.0579/3.612, allocations: 36.51 MB / 2.015 GB, free: 11.75 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009931/3.622, allocations: 4.239 MB / 2.02 GB, free: 8.965 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004182/3.627, allocations: 2.152 MB / 2.022 GB, free: 7.613 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01832/3.645, allocations: 11.12 MB / 2.033 GB, free: 14.92 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004718/3.65, allocations: 2.42 MB / 2.035 GB, free: 12.45 MB / 1.214 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003594/3.653, allocations: 0.5359 MB / 2.035 GB, free: 11.91 MB / 1.214 GB Notification: Performance of pre-optimization done (n=309): time 5.941e-06/3.653, allocations: 0 / 2.035 GB, free: 11.91 MB / 1.214 GB Notification: Performance of matching and sorting (n=309): time 0.0203/3.674, allocations: 7.605 MB / 2.043 GB, free: 4.227 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/3.674, allocations: 267.6 kB / 2.043 GB, free: 3.91 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01289/3.687, allocations: 7.602 MB / 2.051 GB, free: 12.34 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.001209/3.688, allocations: 117.7 kB / 2.051 GB, free: 12.22 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.004094/3.692, allocations: 4.038 MB / 2.055 GB, free: 8.188 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.001659/3.694, allocations: 1.051 MB / 2.056 GB, free: 7.148 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001572/3.695, allocations: 0.9893 MB / 2.057 GB, free: 6.148 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 8.362e-05/3.695, allocations: 301.1 kB / 2.057 GB, free: 5.852 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004411/3.7, allocations: 2.106 MB / 2.059 GB, free: 3.727 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005605/3.705, allocations: 3.786 MB / 2.063 GB, free: 15.25 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009394/3.715, allocations: 5.527 MB / 2.068 GB, free: 9.301 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/3.715, allocations: 12 kB / 2.068 GB, free: 9.289 MB / 1.245 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01465/3.73, allocations: 6.763 MB / 2.075 GB, free: 2.734 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/3.73, allocations: 20 kB / 2.075 GB, free: 2.715 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.676e-05/3.73, allocations: 48.12 kB / 2.075 GB, free: 2.668 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004368/3.734, allocations: 0.9672 MB / 2.076 GB, free: 1.695 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/3.738, allocations: 1.057 MB / 2.077 GB, free: 0.7031 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/3.741, allocations: 3.259 MB / 2.08 GB, free: 13.37 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007944/3.749, allocations: 0.6355 MB / 2.081 GB, free: 12.73 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007137/3.75, allocations: 245.8 kB / 2.081 GB, free: 12.5 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009398/3.76, allocations: 3.917 MB / 2.085 GB, free: 8.57 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007167/3.767, allocations: 3.666 MB / 2.088 GB, free: 4.199 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01029/3.777, allocations: 5.335 MB / 2.093 GB, free: 14.45 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.373e-05/3.777, allocations: 12 kB / 2.093 GB, free: 14.43 MB / 1.276 GB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.01679/3.794, allocations: 6.467 MB / 2.1 GB, free: 8.172 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/3.794, allocations: 24 kB / 2.1 GB, free: 8.148 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.78e-05/3.794, allocations: 40 kB / 2.1 GB, free: 8.109 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00381/3.798, allocations: 0.8444 MB / 2.101 GB, free: 7.266 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/3.802, allocations: 1.009 MB / 2.102 GB, free: 6.32 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/3.804, allocations: 1.923 MB / 2.103 GB, free: 4.367 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008262/3.812, allocations: 0.6037 MB / 2.104 GB, free: 3.766 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006947/3.813, allocations: 235.9 kB / 2.104 GB, free: 3.535 MB / 1.276 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 184 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.bui.loa.nextTimeEvent,$whenCondition1,QAveHeaReq_flow.mode,$PRE.QAveHeaReq_flow.mode,$whenCondition2,QAveHeaAct_flow.mode,$PRE.QAveHeaAct_flow.mode,$whenCondition3,QAveCooReq_flow.mode,$PRE.QAveCooReq_flow.mode,$whenCondition4,QAveCooAct_flow.mode,$PRE.QAveCooAct_flow.mode,$whenCondition5,bui.terUniCoo.con1.y,bui.terUniHea.con1.y,bui.terUniCoo.hex.flowRegime_nominal,bui.terUniHea.hex.flowRegime_nominal,bui.terUniCoo.greThr.greHys.y,$PRE.bui.terUniCoo.greThr.greHys.y,bui.terUniCoo.hex.flowRegime,bui.terUniHea.greThr.greHys.y,$PRE.bui.terUniHea.greThr.greHys.y,bui.terUniHea.hex.flowRegime,bui.loa.nextTimeEventScaled,$PRE.bui.loa.nextTimeEventScaled,bui.loa.nextTimeEvent,$whenCondition6,$whenCondition7,ECooAct.local_reset,ECooReq.local_reset,EHeaAct.local_reset,EHeaReq.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 523 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {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): 2 systems {(1,22), (1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001567/3.814, allocations: 0.496 MB / 2.105 GB, free: 3.098 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003205/3.818, allocations: 0.7715 MB / 2.106 GB, free: 2.316 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/3.834, allocations: 5.453 MB / 2.111 GB, free: 12.84 MB / 1.292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.984e-05/3.834, allocations: 44 kB / 2.111 GB, free: 12.8 MB / 1.292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/3.834, allocations: 0 / 2.111 GB, free: 12.8 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009274/3.843, allocations: 4.274 MB / 2.115 GB, free: 8.43 MB / 1.292 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.03361/3.877, allocations: 14.28 MB / 2.129 GB, free: 10.06 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/3.877, allocations: 8 kB / 2.129 GB, free: 10.05 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003167/3.88, allocations: 0.6638 MB / 2.13 GB, free: 9.414 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0041/3.884, allocations: 0.8779 MB / 2.131 GB, free: 8.543 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000357/3.884, allocations: 99.94 kB / 2.131 GB, free: 8.445 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/3.887, allocations: 3.207 MB / 2.134 GB, free: 5.156 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/3.887, allocations: 13.62 kB / 2.134 GB, free: 5.148 MB / 1.307 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "bui.terUniCoo.hex.flowRegime = if bui.terUniCoo.hex.C1_flow * bui.terUniCoo.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.03545/3.923, allocations: 14.54 MB / 2.148 GB, free: 6.305 MB / 1.323 GB Error: post-optimization module symbolicJacobian (simulation) failed.