Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3.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.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.006/2.006, allocations: 391.2 MB / 407 MB, free: 10.83 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.00121/0.00121, allocations: 191.4 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.33/1.33, allocations: 222.9 MB / 0.7948 GB, free: 15.82 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.0009397/0.0009397, allocations: 106.7 kB / 0.9329 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 51.45 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2002, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System3): time 0.753/0.9532, allocations: 355.4 MB / 1.565 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.04475/0.998, allocations: 39.6 MB / 1.604 GB, free: 1.801 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006627/1.005, allocations: 153.9 kB / 1.604 GB, free: 1.742 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.006769/1.011, allocations: 2.386 MB / 1.606 GB, free: 15.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0204/1.032, allocations: 8.077 MB / 1.614 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.01587/1.048, allocations: 4.679 MB / 1.619 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01806/1.066, allocations: 15.94 MB / 1.634 GB, free: 3.262 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007761/1.074, allocations: 4.477 MB / 1.639 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01325/1.087, allocations: 5.376 MB / 1.644 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008134/1.095, allocations: 4.038 MB / 1.648 GB, free: 5.281 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001854/1.097, allocations: 303.9 kB / 1.648 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01633/1.113, allocations: 9.062 MB / 1.657 GB, free: 11.9 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.002752/1.116, allocations: 1.549 MB / 1.659 GB, free: 10.35 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.006128/1.122, allocations: 2.973 MB / 1.661 GB, free: 7.359 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.02146/1.144, allocations: 11.85 MB / 1.673 GB, free: 11.48 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.144, allocations: 4 kB / 1.673 GB, free: 11.47 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.392e-06/1.144, allocations: 0 / 1.673 GB, free: 11.47 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0002956/1.144, allocations: 0 / 1.673 GB, free: 11.47 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1033 * Number of variables: 1033 Notification: Performance of Generate backend data structure: time 0.0175/1.162, allocations: 6.982 MB / 1.68 GB, free: 4.391 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.162, allocations: 15.98 kB / 1.68 GB, free: 4.375 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02084/1.182, allocations: 3.294 MB / 1.683 GB, free: 1.07 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009686/1.192, allocations: 4.216 MB / 1.687 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00122/1.193, allocations: 0.5138 MB / 1.688 GB, free: 12.27 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/1.195, allocations: 420 kB / 1.688 GB, free: 11.86 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/1.21, allocations: 5.718 MB / 1.694 GB, free: 6.012 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/1.21, allocations: 3.938 kB / 1.694 GB, free: 6.008 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008831/1.211, allocations: 164 kB / 1.694 GB, free: 5.848 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/1.211, allocations: 159.9 kB / 1.694 GB, free: 5.691 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/1.228, allocations: 6.471 MB / 1.7 GB, free: 15.21 MB / 1.057 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.03708/1.265, allocations: 22 MB / 1.722 GB, free: 8.09 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/1.276, allocations: 4.679 MB / 1.726 GB, free: 3.301 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006562/1.283, allocations: 2.59 MB / 1.729 GB, free: 0.6992 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01613/1.299, allocations: 8.315 MB / 1.737 GB, free: 8.051 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00714/1.306, allocations: 2.847 MB / 1.74 GB, free: 5.16 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002033/1.308, allocations: 269.3 kB / 1.74 GB, free: 4.895 MB / 1.089 GB Notification: Performance of pre-optimization done (n=319): time 1.069e-05/1.308, allocations: 0 / 1.74 GB, free: 4.895 MB / 1.089 GB Notification: Performance of matching and sorting (n=325): time 0.04163/1.35, allocations: 13.71 MB / 1.753 GB, free: 6.965 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/1.35, allocations: 214.5 kB / 1.754 GB, free: 6.711 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005462/1.355, allocations: 3.429 MB / 1.757 GB, free: 3.254 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0007784/1.356, allocations: 93.7 kB / 1.757 GB, free: 3.156 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/1.358, allocations: 2.05 MB / 1.759 GB, free: 1.09 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.00143/1.36, allocations: 1.097 MB / 1.76 GB, free: 15.98 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002309/1.362, allocations: 0.7302 MB / 1.761 GB, free: 15.24 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/1.362, allocations: 301.1 kB / 1.761 GB, free: 14.94 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006672/1.369, allocations: 2.306 MB / 1.763 GB, free: 12.63 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007355/1.376, allocations: 2.978 MB / 1.766 GB, free: 9.426 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/1.39, allocations: 5.068 MB / 1.771 GB, free: 4.16 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/1.39, allocations: 4 kB / 1.771 GB, free: 4.156 MB / 1.12 GB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01967/1.409, allocations: 6.327 MB / 1.777 GB, free: 13.78 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/1.409, allocations: 8 kB / 1.777 GB, free: 13.77 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/1.409, allocations: 16.52 kB / 1.777 GB, free: 13.75 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/1.412, allocations: 0.6656 MB / 1.778 GB, free: 13.07 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006494/1.419, allocations: 1.143 MB / 1.779 GB, free: 11.93 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009285/1.428, allocations: 9.308 MB / 1.788 GB, free: 2.004 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007063/1.435, allocations: 0.662 MB / 1.789 GB, free: 1.344 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009599/1.436, allocations: 171.9 kB / 1.789 GB, free: 1.176 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009071/1.445, allocations: 3.12 MB / 1.792 GB, free: 14.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00733/1.452, allocations: 2.931 MB / 1.795 GB, free: 10.89 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01382/1.466, allocations: 4.975 MB / 1.8 GB, free: 5.719 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.986e-05/1.466, allocations: 4 kB / 1.8 GB, free: 5.715 MB / 1.151 GB Notification: Performance of matching and sorting (n=448) (initialization_lambda0): time 0.01918/1.485, allocations: 6.218 MB / 1.806 GB, free: 15.45 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.486, allocations: 11.94 kB / 1.806 GB, free: 15.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/1.486, allocations: 12 kB / 1.806 GB, free: 15.42 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/1.488, allocations: 0.6378 MB / 1.807 GB, free: 14.77 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006314/1.494, allocations: 1.123 MB / 1.808 GB, free: 13.64 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/1.505, allocations: 10.25 MB / 1.818 GB, free: 2.664 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007834/1.513, allocations: 0.6576 MB / 1.818 GB, free: 2.008 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.514, allocations: 167.9 kB / 1.819 GB, free: 1.844 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 (cooCoi.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,con.y,$PRE.con.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,cooCoi.flowRegime,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (412): * Single equations (assignments): 402 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * 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): 1 system {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): 6 systems {(1,2), (1,18), (1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001794/1.516, allocations: 404 kB / 1.819 GB, free: 1.441 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/1.518, allocations: 438.6 kB / 1.819 GB, free: 1.008 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/1.537, allocations: 6.015 MB / 1.825 GB, free: 10.93 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/1.537, allocations: 32 kB / 1.825 GB, free: 10.89 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.538, allocations: 4 kB / 1.825 GB, free: 10.89 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0155/1.553, allocations: 4.949 MB / 1.83 GB, free: 5.883 MB / 1.182 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.02908/1.582, allocations: 11.37 MB / 1.841 GB, free: 10.37 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/1.582, allocations: 7.938 kB / 1.841 GB, free: 10.36 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005507/1.588, allocations: 0.9091 MB / 1.842 GB, free: 9.449 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/1.589, allocations: 364.8 kB / 1.842 GB, free: 9.074 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008363/1.59, allocations: 103.9 kB / 1.843 GB, free: 8.973 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006507/1.597, allocations: 7.602 MB / 1.85 GB, free: 0.75 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.597, allocations: 7.875 kB / 1.85 GB, free: 0.7422 MB / 1.198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "cooCoi.flowRegime = if cooCoi.C1_flow * cooCoi.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.06084/1.658, allocations: 16.67 MB / 1.866 GB, free: 15.87 MB / 1.229 GB Error: post-optimization module symbolicJacobian (simulation) failed.