Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop.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.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.3 MB / 308.1 MB, free: 4.309 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.00127/0.00127, allocations: 184.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.388/1.388, 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.001016/0.001017, allocations: 98.23 kB / 0.7479 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2398, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingTimeSeriesSingleLoop): time 3.09/3.33, allocations: 1.235 GB / 2.217 GB, free: 12.38 MB / 1.26 GB Notification: Performance of NFInst.instExpressions: time 1.453/4.782, allocations: 264.9 MB / 2.476 GB, free: 1.555 MB / 1.37 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06302/4.845, allocations: 1.066 MB / 2.477 GB, free: 1.555 MB / 1.37 GB Notification: Performance of NFTyping.typeComponents: time 0.01782/4.863, allocations: 4.708 MB / 2.482 GB, free: 1.465 MB / 1.37 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.0464/4.91, allocations: 14.09 MB / 2.496 GB, free: 0.8711 MB / 1.37 GB Notification: Performance of NFTyping.typeClassSections: time 0.02731/4.937, allocations: 9.418 MB / 2.505 GB, free: 0.625 MB / 1.37 GB Notification: Performance of NFFlatten.flatten: time 0.1642/5.101, allocations: 39.69 MB / 2.543 GB, free: 15.27 MB / 1.385 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0272/5.129, allocations: 8.958 MB / 2.552 GB, free: 13.75 MB / 1.385 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02878/5.157, allocations: 10.3 MB / 2.562 GB, free: 12.05 MB / 1.385 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0169/5.174, allocations: 7.011 MB / 2.569 GB, free: 9.57 MB / 1.385 GB Notification: Performance of NFPackage.collectConstants: time 0.004694/5.179, allocations: 478.9 kB / 2.57 GB, free: 9.57 MB / 1.385 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02932/5.208, allocations: 9.646 MB / 2.579 GB, free: 7.555 MB / 1.385 GB Notification: Performance of NFScalarize.scalarize: time 0.006221/5.215, allocations: 2.502 MB / 2.581 GB, free: 6.539 MB / 1.385 GB Notification: Performance of NFVerifyModel.verify: time 0.01538/5.23, allocations: 5.241 MB / 2.587 GB, free: 3.625 MB / 1.385 GB Notification: Performance of NFConvertDAE.convert: time 0.04003/5.27, allocations: 22.6 MB / 2.609 GB, free: 0.9297 MB / 1.401 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/5.27, allocations: 4 kB / 2.609 GB, free: 0.9258 MB / 1.401 GB Notification: Performance of FrontEnd: time 1.433e-06/5.27, allocations: 3.938 kB / 2.609 GB, free: 0.9219 MB / 1.401 GB Notification: Performance of Transformations before backend: time 0.0006654/5.271, allocations: 0 / 2.609 GB, free: 0.9219 MB / 1.401 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.03382/5.305, allocations: 11.6 MB / 2.62 GB, free: 5.355 MB / 1.417 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/5.305, allocations: 12.03 kB / 2.62 GB, free: 5.344 MB / 1.417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01346/5.318, allocations: 2.288 MB / 2.622 GB, free: 3.051 MB / 1.417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/5.342, allocations: 10.26 MB / 2.632 GB, free: 9.047 MB / 1.432 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00241/5.344, allocations: 0.9106 MB / 2.633 GB, free: 8.117 MB / 1.432 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00246/5.346, allocations: 0.6215 MB / 2.634 GB, free: 7.5 MB / 1.432 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02219/5.369, allocations: 7.398 MB / 2.641 GB, free: 15.89 MB / 1.448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/5.369, allocations: 17.28 kB / 2.641 GB, free: 15.88 MB / 1.448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007062/5.37, allocations: 250.8 kB / 2.641 GB, free: 15.64 MB / 1.448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/5.37, allocations: 220 kB / 2.641 GB, free: 15.43 MB / 1.448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01514/5.385, allocations: 6.23 MB / 2.647 GB, free: 9.23 MB / 1.448 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.04777/5.433, allocations: 37.02 MB / 2.684 GB, free: 2.938 MB / 1.479 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009658/5.442, allocations: 4.385 MB / 2.688 GB, free: 14.53 MB / 1.495 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004048/5.446, allocations: 2.18 MB / 2.69 GB, free: 12.35 MB / 1.495 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/5.463, allocations: 11.42 MB / 2.701 GB, free: 344 kB / 1.495 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004729/5.468, allocations: 2.485 MB / 2.704 GB, free: 13.8 MB / 1.51 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00277/5.471, allocations: 0.5436 MB / 2.704 GB, free: 13.26 MB / 1.51 GB Notification: Performance of pre-optimization done (n=318): time 6.242e-06/5.471, allocations: 0 / 2.704 GB, free: 13.26 MB / 1.51 GB Notification: Performance of matching and sorting (n=318): time 0.02013/5.491, allocations: 7.735 MB / 2.712 GB, free: 5.492 MB / 1.51 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/5.491, allocations: 332.5 kB / 2.712 GB, free: 5.102 MB / 1.51 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01447/5.506, allocations: 7.823 MB / 2.72 GB, free: 13.32 MB / 1.526 GB Notification: Performance of collectPreVariables (initialization): time 0.00103/5.507, allocations: 122.5 kB / 2.72 GB, free: 13.2 MB / 1.526 GB Notification: Performance of collectInitialEqns (initialization): time 0.004189/5.511, allocations: 4.158 MB / 2.724 GB, free: 9.035 MB / 1.526 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/5.513, allocations: 1.086 MB / 2.725 GB, free: 7.961 MB / 1.526 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002861/5.515, allocations: 1.001 MB / 2.726 GB, free: 6.949 MB / 1.526 GB Notification: Performance of setup shared object (initialization): time 9.152e-05/5.515, allocations: 301.1 kB / 2.726 GB, free: 6.652 MB / 1.526 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/5.52, allocations: 2.142 MB / 2.728 GB, free: 4.492 MB / 1.526 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006376/5.527, allocations: 3.83 MB / 2.732 GB, free: 15.95 MB / 1.542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/5.537, allocations: 5.625 MB / 2.738 GB, free: 9.922 MB / 1.542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-05/5.537, allocations: 12 kB / 2.738 GB, free: 9.91 MB / 1.542 GB Notification: Performance of matching and sorting (n=590) (initialization): time 0.01598/5.553, allocations: 6.881 MB / 2.744 GB, free: 3.266 MB / 1.542 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/5.553, allocations: 23.94 kB / 2.744 GB, free: 3.242 MB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.192e-05/5.554, allocations: 40 kB / 2.744 GB, free: 3.203 MB / 1.542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004596/5.558, allocations: 0.9696 MB / 2.745 GB, free: 2.23 MB / 1.542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004531/5.563, allocations: 1.086 MB / 2.746 GB, free: 1.211 MB / 1.542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/5.566, allocations: 3.258 MB / 2.749 GB, free: 13.88 MB / 1.557 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007804/5.574, allocations: 0.636 MB / 2.75 GB, free: 13.25 MB / 1.557 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008642/5.575, allocations: 247.9 kB / 2.75 GB, free: 13 MB / 1.557 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009279/5.584, allocations: 3.965 MB / 2.754 GB, free: 9.027 MB / 1.557 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006279/5.59, allocations: 3.731 MB / 2.758 GB, free: 4.594 MB / 1.557 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009871/5.6, allocations: 5.419 MB / 2.763 GB, free: 14.77 MB / 1.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.494e-05/5.6, allocations: 12 kB / 2.763 GB, free: 14.75 MB / 1.573 GB Notification: Performance of matching and sorting (n=590) (initialization_lambda0): time 0.01547/5.616, allocations: 6.621 MB / 2.77 GB, free: 8.363 MB / 1.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/5.616, allocations: 24 kB / 2.77 GB, free: 8.34 MB / 1.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.511e-05/5.616, allocations: 40 kB / 2.77 GB, free: 8.301 MB / 1.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003946/5.62, allocations: 0.848 MB / 2.771 GB, free: 7.449 MB / 1.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/5.624, allocations: 1.032 MB / 2.772 GB, free: 6.484 MB / 1.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/5.626, allocations: 1.917 MB / 2.773 GB, free: 4.539 MB / 1.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007776/5.634, allocations: 0.6154 MB / 2.774 GB, free: 3.93 MB / 1.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008394/5.635, allocations: 239.9 kB / 2.774 GB, free: 3.695 MB / 1.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 186 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.buiHea.loa.nextTimeEvent,$whenCondition5,QAveHeaReq_flow.mode,$PRE.QAveHeaReq_flow.mode,$whenCondition6,QAveHeaAct_flow.mode,$PRE.QAveHeaAct_flow.mode,$whenCondition7,$PRE.buiCoo.loa.nextTimeEvent,$whenCondition1,QAveCooReq_flow.mode,$PRE.QAveCooReq_flow.mode,$whenCondition2,QAveCooAct_flow.mode,$PRE.QAveCooAct_flow.mode,$whenCondition3,buiCoo.terUniCoo.con1.y,buiCoo.terUniCoo.hex.flowRegime_nominal,buiCoo.terUniCoo.greThr.greHys.y,$PRE.buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.hex.flowRegime,buiCoo.loa.nextTimeEventScaled,$PRE.buiCoo.loa.nextTimeEventScaled,buiCoo.loa.nextTimeEvent,$whenCondition4,buiHea.terUniHea.con1.y,buiHea.terUniHea.hex.flowRegime_nominal,buiHea.terUniHea.greThr.greHys.y,$PRE.buiHea.terUniHea.greThr.greHys.y,buiHea.terUniHea.hex.flowRegime,buiHea.loa.nextTimeEventScaled,$PRE.buiHea.loa.nextTimeEventScaled,buiHea.loa.nextTimeEvent,$whenCondition8,EHeaAct.local_reset,EHeaReq.local_reset,ECooAct.local_reset,ECooReq.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (542): * Single equations (assignments): 534 * 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.001731/5.636, allocations: 0.4942 MB / 2.775 GB, free: 3.262 MB / 1.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002869/5.639, allocations: 0.8024 MB / 2.775 GB, free: 2.449 MB / 1.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/5.653, allocations: 5.607 MB / 2.781 GB, free: 12.86 MB / 1.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.957e-05/5.653, allocations: 40 kB / 2.781 GB, free: 12.82 MB / 1.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.65e-05/5.653, allocations: 0 / 2.781 GB, free: 12.82 MB / 1.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009652/5.663, allocations: 4.782 MB / 2.786 GB, free: 7.871 MB / 1.589 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.03349/5.697, allocations: 14.46 MB / 2.8 GB, free: 9.367 MB / 1.604 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/5.697, allocations: 8 kB / 2.8 GB, free: 9.359 MB / 1.604 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003386/5.7, allocations: 0.6736 MB / 2.8 GB, free: 8.719 MB / 1.604 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004172/5.704, allocations: 0.8823 MB / 2.801 GB, free: 7.832 MB / 1.604 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004478/5.705, allocations: 107.9 kB / 2.801 GB, free: 7.727 MB / 1.604 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002927/5.708, allocations: 3.21 MB / 2.805 GB, free: 4.43 MB / 1.604 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/5.708, allocations: 10.34 kB / 2.805 GB, free: 4.422 MB / 1.604 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "buiHea.terUniHea.hex.flowRegime = if buiHea.terUniHea.hex.C1_flow * buiHea.terUniHea.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.03607/5.744, allocations: 14.8 MB / 2.819 GB, free: 5.336 MB / 1.62 GB Error: post-optimization module symbolicJacobian (simulation) failed.