Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries.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.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Examples.CouplingTimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.07/2.07, allocations: 391.2 MB / 407 MB, free: 10.86 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.0013/0.0013, allocations: 198.3 kB / 499.1 MB, free: 4.668 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.351/1.351, allocations: 222.9 MB / 0.7948 GB, free: 15.84 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.001051/0.001051, allocations: 101.5 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 54.88 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2305, 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.CouplingTimeSeries): time 1.894/2.125, allocations: 0.7376 GB / 1.956 GB, free: 45.05 MB / 1.245 GB Notification: Performance of NFInst.instExpressions: time 0.1541/2.279, allocations: 142 MB / 2.094 GB, free: 39.32 MB / 1.245 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02695/2.306, allocations: 0.5637 MB / 2.095 GB, free: 39.32 MB / 1.245 GB Notification: Performance of NFTyping.typeComponents: time 0.01976/2.326, allocations: 4.984 MB / 2.1 GB, free: 37.88 MB / 1.245 GB Notification: Performance of NFTyping.typeBindings: time 0.0419/2.368, allocations: 15.75 MB / 2.115 GB, free: 32.38 MB / 1.245 GB Notification: Performance of NFTyping.typeClassSections: time 0.0235/2.391, allocations: 9.906 MB / 2.125 GB, free: 25.84 MB / 1.245 GB Notification: Performance of NFFlatten.flatten: time 0.1491/2.54, allocations: 42.32 MB / 2.166 GB, free: 344 kB / 1.245 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01678/2.557, allocations: 9.439 MB / 2.175 GB, free: 6.93 MB / 1.26 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02685/2.584, allocations: 10.43 MB / 2.186 GB, free: 13.04 MB / 1.276 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01568/2.6, allocations: 7.586 MB / 2.193 GB, free: 6.023 MB / 1.276 GB Notification: Performance of NFPackage.collectConstants: time 0.004064/2.604, allocations: 0.5273 MB / 2.194 GB, free: 5.496 MB / 1.276 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02694/2.631, allocations: 11.37 MB / 2.205 GB, free: 11.14 MB / 1.292 GB Notification: Performance of NFScalarize.scalarize: time 0.006276/2.637, allocations: 2.721 MB / 2.207 GB, free: 8.48 MB / 1.292 GB Notification: Performance of NFVerifyModel.verify: time 0.01473/2.652, allocations: 5.784 MB / 2.213 GB, free: 2.719 MB / 1.292 GB Notification: Performance of NFConvertDAE.convert: time 0.04759/2.699, allocations: 26.92 MB / 2.239 GB, free: 8.621 MB / 1.323 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/2.7, allocations: 0 / 2.239 GB, free: 8.621 MB / 1.323 GB Notification: Performance of FrontEnd: time 1.563e-06/2.7, allocations: 0 / 2.239 GB, free: 8.621 MB / 1.323 GB Notification: Performance of Transformations before backend: time 0.0008078/2.7, allocations: 0 / 2.239 GB, free: 8.621 MB / 1.323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1651 * Number of variables: 1651 Notification: Performance of Generate backend data structure: time 0.03851/2.739, allocations: 12.73 MB / 2.252 GB, free: 11.88 MB / 1.339 GB Notification: Performance of prepare preOptimizeDAE: time 7.101e-05/2.739, allocations: 11.98 kB / 2.252 GB, free: 11.87 MB / 1.339 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02776/2.767, allocations: 4.212 MB / 2.256 GB, free: 7.652 MB / 1.339 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02454/2.791, allocations: 11.88 MB / 2.267 GB, free: 11.91 MB / 1.354 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002135/2.793, allocations: 0.947 MB / 2.268 GB, free: 10.93 MB / 1.354 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002528/2.796, allocations: 0.6858 MB / 2.269 GB, free: 10.25 MB / 1.354 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0273/2.823, allocations: 9.306 MB / 2.278 GB, free: 0.6797 MB / 1.354 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002668/2.824, allocations: 11.94 kB / 2.278 GB, free: 0.668 MB / 1.354 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002043/2.826, allocations: 268 kB / 2.278 GB, free: 416 kB / 1.354 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/2.826, allocations: 248.2 kB / 2.279 GB, free: 164 kB / 1.354 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02466/2.851, allocations: 8.742 MB / 2.287 GB, free: 7.398 MB / 1.37 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.07507/2.926, allocations: 43.81 MB / 2.33 GB, free: 10.15 MB / 1.417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/2.943, allocations: 6.102 MB / 2.336 GB, free: 4.035 MB / 1.417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009205/2.952, allocations: 3.328 MB / 2.339 GB, free: 0.7031 MB / 1.417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03048/2.982, allocations: 15.42 MB / 2.354 GB, free: 0.6719 MB / 1.432 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01105/2.993, allocations: 3.777 MB / 2.358 GB, free: 12.85 MB / 1.448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005244/2.999, allocations: 0.5888 MB / 2.358 GB, free: 12.26 MB / 1.448 GB Notification: Performance of pre-optimization done (n=381): time 1.591e-05/2.999, allocations: 0 / 2.358 GB, free: 12.26 MB / 1.448 GB Notification: Performance of matching and sorting (n=381): time 0.07251/3.071, allocations: 15.91 MB / 2.374 GB, free: 12.22 MB / 1.464 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/3.071, allocations: 282.2 kB / 2.374 GB, free: 11.89 MB / 1.464 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01789/3.089, allocations: 8.396 MB / 2.382 GB, free: 3.562 MB / 1.464 GB Notification: Performance of collectPreVariables (initialization): time 0.001346/3.091, allocations: 132.3 kB / 2.383 GB, free: 3.43 MB / 1.464 GB Notification: Performance of collectInitialEqns (initialization): time 0.00486/3.096, allocations: 4.387 MB / 2.387 GB, free: 15.04 MB / 1.479 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/3.098, allocations: 1.299 MB / 2.388 GB, free: 13.75 MB / 1.479 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002579/3.101, allocations: 1.209 MB / 2.389 GB, free: 12.54 MB / 1.479 GB Notification: Performance of setup shared object (initialization): time 8.516e-05/3.101, allocations: 305.1 kB / 2.39 GB, free: 12.23 MB / 1.479 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008561/3.109, allocations: 3.439 MB / 2.393 GB, free: 8.781 MB / 1.479 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01101/3.12, allocations: 5.23 MB / 2.398 GB, free: 2.812 MB / 1.479 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01926/3.14, allocations: 8.137 MB / 2.406 GB, free: 10.07 MB / 1.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.964e-05/3.14, allocations: 12 kB / 2.406 GB, free: 10.06 MB / 1.495 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.03543/3.175, allocations: 10.82 MB / 2.417 GB, free: 15.21 MB / 1.51 GB Notification: Performance of prepare postOptimizeDAE: time 7.177e-05/3.175, allocations: 24 kB / 2.417 GB, free: 15.19 MB / 1.51 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.588e-05/3.175, allocations: 44 kB / 2.417 GB, free: 15.14 MB / 1.51 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/3.189, allocations: 3.32 MB / 2.42 GB, free: 11.81 MB / 1.51 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006683/3.195, allocations: 1.295 MB / 2.421 GB, free: 10.52 MB / 1.51 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01411/3.209, allocations: 9.846 MB / 2.431 GB, free: 360 kB / 1.51 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/3.22, allocations: 0.93 MB / 2.432 GB, free: 15.42 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/3.222, allocations: 299.9 kB / 2.432 GB, free: 15.13 MB / 1.526 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01418/3.236, allocations: 5.454 MB / 2.437 GB, free: 9.664 MB / 1.526 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01017/3.246, allocations: 5.076 MB / 2.442 GB, free: 3.848 MB / 1.526 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01779/3.264, allocations: 7.839 MB / 2.45 GB, free: 11.41 MB / 1.542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.944e-05/3.264, allocations: 12 kB / 2.45 GB, free: 11.4 MB / 1.542 GB Notification: Performance of matching and sorting (n=692) (initialization_lambda0): time 0.03417/3.298, allocations: 10.48 MB / 2.46 GB, free: 0.8867 MB / 1.542 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/3.298, allocations: 20 kB / 2.46 GB, free: 0.8672 MB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.317e-05/3.298, allocations: 44 kB / 2.46 GB, free: 0.8242 MB / 1.542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01272/3.311, allocations: 3.193 MB / 2.463 GB, free: 13.62 MB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00635/3.317, allocations: 1.244 MB / 2.465 GB, free: 12.37 MB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/3.33, allocations: 7.107 MB / 2.471 GB, free: 5.035 MB / 1.557 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/3.341, allocations: 0.8942 MB / 2.472 GB, free: 4.145 MB / 1.557 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/3.343, allocations: 298 kB / 2.473 GB, free: 3.855 MB / 1.557 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 35 (bui.terUniCoo.hexWetNtu.flowRegime_nominal,$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.hexWetNtu.UAFroRated.isFulWet,bui.terUniCoo.hexWetNtu.UAFroRated.isFulDry,bui.terUniHea.hex.flowRegime_nominal,bui.terUniCoo.greThr.greHys.y,$PRE.bui.terUniCoo.greThr.greHys.y,bui.terUniCoo.hexWetNtu.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 (594): * Single equations (assignments): 579 * 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,22), (1,4), (1,2), (2,53), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002645/3.345, allocations: 0.5245 MB / 2.473 GB, free: 3.324 MB / 1.557 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003255/3.348, allocations: 0.8565 MB / 2.474 GB, free: 2.457 MB / 1.557 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9098/4.258, allocations: 8.817 MB / 2.483 GB, free: 0.7789 GB / 1.557 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.765e-05/4.258, allocations: 49.45 kB / 2.483 GB, free: 0.7789 GB / 1.557 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/4.258, allocations: 1.844 kB / 2.483 GB, free: 0.7789 GB / 1.557 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02597/4.284, allocations: 7.335 MB / 2.49 GB, free: 0.7763 GB / 1.557 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.05391/4.338, allocations: 20.83 MB / 2.51 GB, free: 0.7675 GB / 1.557 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-05/4.338, allocations: 7.375 kB / 2.51 GB, free: 0.7675 GB / 1.557 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004954/4.343, allocations: 0.8686 MB / 2.511 GB, free: 0.7674 GB / 1.557 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/4.354, allocations: 2.579 MB / 2.513 GB, free: 0.767 GB / 1.557 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000942/4.355, allocations: 129 kB / 2.514 GB, free: 0.7669 GB / 1.557 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009205/4.364, allocations: 8.476 MB / 2.522 GB, free: 0.7605 GB / 1.557 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/4.364, allocations: 11.75 kB / 2.522 GB, free: 0.7605 GB / 1.557 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "bui.terUniCoo.hexWetNtu.flowRegime = if bui.terUniCoo.hexWetNtu.C1_flow * bui.terUniCoo.hexWetNtu.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.09421/4.458, allocations: 25.7 MB / 2.547 GB, free: 0.7496 GB / 1.557 GB Error: post-optimization module symbolicJacobian (simulation) failed.