Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop.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.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.044/2.044, allocations: 391.2 MB / 407 MB, free: 10.74 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.001121/0.001121, allocations: 190.7 kB / 499.1 MB, free: 4.617 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.349/1.349, allocations: 222.9 MB / 0.7948 GB, free: 15.8 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.000976/0.000976, allocations: 119.7 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 52.72 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2436, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeriesSingleLoop): time 3.241/3.485, allocations: 1.321 GB / 2.539 GB, free: 32.97 MB / 1.479 GB Notification: Performance of NFInst.instExpressions: time 0.3041/3.789, allocations: 273.7 MB / 2.806 GB, free: 5.695 MB / 1.495 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05188/3.841, allocations: 1.129 MB / 2.807 GB, free: 5.688 MB / 1.495 GB Notification: Performance of NFTyping.typeComponents: time 0.01689/3.858, allocations: 5.041 MB / 2.812 GB, free: 3.043 MB / 1.495 GB Notification: Performance of NFTyping.typeBindings: time 0.048/3.906, allocations: 15.87 MB / 2.828 GB, free: 8.508 MB / 1.51 GB Notification: Performance of NFTyping.typeClassSections: time 0.02927/3.935, allocations: 10.26 MB / 2.838 GB, free: 15.13 MB / 1.526 GB Notification: Performance of NFFlatten.flatten: time 0.153/4.088, allocations: 42.66 MB / 2.879 GB, free: 6.977 MB / 1.557 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01657/4.105, allocations: 9.768 MB / 2.889 GB, free: 13.22 MB / 1.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02732/4.132, allocations: 10.55 MB / 2.899 GB, free: 3.215 MB / 1.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01621/4.149, allocations: 7.691 MB / 2.907 GB, free: 12.07 MB / 1.589 GB Notification: Performance of NFPackage.collectConstants: time 0.003433/4.152, allocations: 0.5273 MB / 2.907 GB, free: 11.54 MB / 1.589 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02767/4.18, allocations: 11.37 MB / 2.918 GB, free: 1.191 MB / 1.589 GB Notification: Performance of NFScalarize.scalarize: time 0.004439/4.184, allocations: 2.755 MB / 2.921 GB, free: 14.48 MB / 1.604 GB Notification: Performance of NFVerifyModel.verify: time 0.01342/4.198, allocations: 5.873 MB / 2.927 GB, free: 8.625 MB / 1.604 GB Notification: Performance of NFConvertDAE.convert: time 0.03997/4.238, allocations: 27.16 MB / 2.953 GB, free: 14.3 MB / 1.635 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/4.238, allocations: 4 kB / 2.953 GB, free: 14.3 MB / 1.635 GB Notification: Performance of FrontEnd: time 1.303e-06/4.238, allocations: 0 / 2.953 GB, free: 14.3 MB / 1.635 GB Notification: Performance of Transformations before backend: time 0.0005951/4.238, allocations: 0 / 2.953 GB, free: 14.3 MB / 1.635 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1670 * Number of variables: 1670 Notification: Performance of Generate backend data structure: time 0.03472/4.273, allocations: 12.97 MB / 2.966 GB, free: 1.309 MB / 1.635 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/4.273, allocations: 15.98 kB / 2.966 GB, free: 1.293 MB / 1.635 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02706/4.3, allocations: 4.235 MB / 2.97 GB, free: 13.05 MB / 1.651 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02981/4.33, allocations: 12.06 MB / 2.982 GB, free: 1.105 MB / 1.651 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002298/4.332, allocations: 0.9388 MB / 2.983 GB, free: 140 kB / 1.651 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/4.335, allocations: 0.6949 MB / 2.984 GB, free: 15.44 MB / 1.667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/4.358, allocations: 9.409 MB / 2.993 GB, free: 5.77 MB / 1.667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/4.359, allocations: 23.78 kB / 2.993 GB, free: 5.746 MB / 1.667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007746/4.359, allocations: 271.8 kB / 2.993 GB, free: 5.484 MB / 1.667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/4.36, allocations: 252.3 kB / 2.993 GB, free: 5.234 MB / 1.667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/4.383, allocations: 8.801 MB / 3.002 GB, free: 12.41 MB / 1.682 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.07944/4.463, allocations: 44.3 MB / 3.045 GB, free: 14.66 MB / 1.729 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01845/4.481, allocations: 6.249 MB / 3.051 GB, free: 8.371 MB / 1.729 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009415/4.491, allocations: 3.352 MB / 3.055 GB, free: 5.027 MB / 1.729 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02947/4.52, allocations: 15.7 MB / 3.07 GB, free: 4.707 MB / 1.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009106/4.529, allocations: 3.837 MB / 3.074 GB, free: 0.8281 MB / 1.745 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004182/4.533, allocations: 0.6006 MB / 3.074 GB, free: 228 kB / 1.745 GB Notification: Performance of pre-optimization done (n=390): time 1.387e-05/4.533, allocations: 0 / 3.074 GB, free: 228 kB / 1.745 GB Notification: Performance of matching and sorting (n=390): time 0.07569/4.609, allocations: 16.51 MB / 3.09 GB, free: 15.62 MB / 1.776 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/4.609, allocations: 334 kB / 3.091 GB, free: 15.23 MB / 1.776 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/4.623, allocations: 8.597 MB / 3.099 GB, free: 6.645 MB / 1.776 GB Notification: Performance of collectPreVariables (initialization): time 0.001298/4.624, allocations: 133.7 kB / 3.099 GB, free: 6.508 MB / 1.776 GB Notification: Performance of collectInitialEqns (initialization): time 0.00407/4.628, allocations: 4.496 MB / 3.104 GB, free: 2.004 MB / 1.776 GB Notification: Performance of collectInitialBindings (initialization): time 0.001931/4.63, allocations: 1.332 MB / 3.105 GB, free: 0.6836 MB / 1.776 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002053/4.632, allocations: 1.227 MB / 3.106 GB, free: 15.45 MB / 1.792 GB Notification: Performance of setup shared object (initialization): time 8.065e-05/4.632, allocations: 301.1 kB / 3.106 GB, free: 15.16 MB / 1.792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008239/4.641, allocations: 3.475 MB / 3.11 GB, free: 11.67 MB / 1.792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009552/4.65, allocations: 5.27 MB / 3.115 GB, free: 5.652 MB / 1.792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01738/4.668, allocations: 8.224 MB / 3.123 GB, free: 12.8 MB / 1.807 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.638e-05/4.668, allocations: 12 kB / 3.123 GB, free: 12.79 MB / 1.807 GB Notification: Performance of matching and sorting (n=703) (initialization): time 0.03338/4.701, allocations: 10.9 MB / 3.134 GB, free: 1.828 MB / 1.807 GB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/4.701, allocations: 24 kB / 3.134 GB, free: 1.805 MB / 1.807 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-05/4.701, allocations: 40.84 kB / 3.134 GB, free: 1.766 MB / 1.807 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5424/5.244, allocations: 3.313 MB / 3.137 GB, free: 1.032 GB / 1.807 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007334/5.251, allocations: 1.309 MB / 3.138 GB, free: 1.032 GB / 1.807 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/5.265, allocations: 9.772 MB / 3.148 GB, free: 1.026 GB / 1.807 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/5.276, allocations: 0.9316 MB / 3.149 GB, free: 1.026 GB / 1.807 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/5.277, allocations: 312.2 kB / 3.149 GB, free: 1.026 GB / 1.807 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01326/5.291, allocations: 5.503 MB / 3.154 GB, free: 1.024 GB / 1.807 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01001/5.301, allocations: 5.117 MB / 3.159 GB, free: 1.02 GB / 1.807 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01696/5.318, allocations: 7.931 MB / 3.167 GB, free: 1.016 GB / 1.807 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.003e-05/5.318, allocations: 12.53 kB / 3.167 GB, free: 1.016 GB / 1.807 GB Notification: Performance of matching and sorting (n=703) (initialization_lambda0): time 0.03046/5.348, allocations: 10.54 MB / 3.177 GB, free: 1.012 GB / 1.807 GB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/5.348, allocations: 31.17 kB / 3.177 GB, free: 1.012 GB / 1.807 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.131e-05/5.348, allocations: 47.5 kB / 3.177 GB, free: 1.012 GB / 1.807 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/5.36, allocations: 3.189 MB / 3.181 GB, free: 1.012 GB / 1.807 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005864/5.366, allocations: 1.266 MB / 3.182 GB, free: 1.012 GB / 1.807 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/5.377, allocations: 7.042 MB / 3.189 GB, free: 1.007 GB / 1.807 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01056/5.388, allocations: 0.8968 MB / 3.19 GB, free: 1.007 GB / 1.807 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/5.389, allocations: 297.8 kB / 3.19 GB, free: 1.007 GB / 1.807 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 195 * Number of states: 0 () * Number of discrete variables: 40 (buiCoo.terUniCoo.hexWetNtu.flowRegime_nominal,$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.hexWetNtu.UAFroRated.isFulWet,buiCoo.terUniCoo.hexWetNtu.UAFroRated.isFulDry,buiCoo.terUniCoo.greThr.greHys.y,$PRE.buiCoo.terUniCoo.greThr.greHys.y,buiCoo.terUniCoo.hexWetNtu.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 (605): * Single equations (assignments): 590 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 4 systems {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): 5 systems {(1,4), (1,2), (2,53), (5,2), (1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.002867/5.392, allocations: 0.5431 MB / 3.19 GB, free: 1.006 GB / 1.807 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003473/5.395, allocations: 0.8815 MB / 3.191 GB, free: 1.006 GB / 1.807 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03361/5.429, allocations: 9.032 MB / 3.2 GB, free: 1.003 GB / 1.807 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/5.429, allocations: 51.38 kB / 3.2 GB, free: 1.003 GB / 1.807 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.262e-05/5.429, allocations: 0.875 kB / 3.2 GB, free: 1.003 GB / 1.807 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02993/5.459, allocations: 7.887 MB / 3.208 GB, free: 1 GB / 1.807 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.0531/5.512, allocations: 20.62 MB / 3.228 GB, free: 0.9868 GB / 1.807 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.752e-05/5.512, allocations: 12.22 kB / 3.228 GB, free: 0.9867 GB / 1.807 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005952/5.518, allocations: 0.8815 MB / 3.229 GB, free: 0.9859 GB / 1.807 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/5.531, allocations: 2.564 MB / 3.231 GB, free: 0.9834 GB / 1.807 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001134/5.533, allocations: 135.9 kB / 3.231 GB, free: 0.9833 GB / 1.807 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009972/5.543, allocations: 8.489 MB / 3.24 GB, free: 0.9747 GB / 1.807 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/5.543, allocations: 19.88 kB / 3.24 GB, free: 0.9747 GB / 1.807 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.07711/5.62, allocations: 23.37 MB / 3.263 GB, free: 0.9518 GB / 1.807 GB Error: post-optimization module symbolicJacobian (simulation) failed.