Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2.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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.015/2.015, 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.00128/0.00128, allocations: 187.4 kB / 499.1 MB, free: 4.695 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.339/1.339, 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.0009409/0.0009408, allocations: 105.7 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 52.52 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1978, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System2): time 0.7507/0.9486, allocations: 355.3 MB / 1.565 GB, free: 11.99 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.04987/0.9985, allocations: 39.56 MB / 1.604 GB, free: 1.969 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007409/1.006, allocations: 153.4 kB / 1.604 GB, free: 1.922 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.00711/1.013, allocations: 2.386 MB / 1.606 GB, free: 16 kB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.02028/1.033, allocations: 8.069 MB / 1.614 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.01139/1.045, allocations: 4.674 MB / 1.619 GB, free: 3.516 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01709/1.062, allocations: 15.92 MB / 1.634 GB, free: 3.559 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00766/1.07, allocations: 4.445 MB / 1.639 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01293/1.082, allocations: 5.357 MB / 1.644 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007689/1.09, allocations: 4.025 MB / 1.648 GB, free: 5.641 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.00167/1.092, allocations: 300 kB / 1.648 GB, free: 5.348 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01864/1.111, allocations: 9.059 MB / 1.657 GB, free: 12.27 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.004631/1.115, allocations: 1.537 MB / 1.658 GB, free: 10.73 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.00699/1.122, allocations: 2.969 MB / 1.661 GB, free: 7.742 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.01992/1.142, allocations: 11.81 MB / 1.673 GB, free: 11.89 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.142, allocations: 3.984 kB / 1.673 GB, free: 11.89 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.032e-06/1.142, allocations: 0 / 1.673 GB, free: 11.89 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0002544/1.142, allocations: 0 / 1.673 GB, free: 11.89 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: 1024 * Number of variables: 1024 Notification: Performance of Generate backend data structure: time 0.01654/1.159, allocations: 6.912 MB / 1.679 GB, free: 4.883 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/1.159, allocations: 15.98 kB / 1.68 GB, free: 4.867 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/1.18, allocations: 3.294 MB / 1.683 GB, free: 1.562 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/1.19, allocations: 4.204 MB / 1.687 GB, free: 13.3 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001264/1.192, allocations: 0.506 MB / 1.687 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/1.193, allocations: 412 kB / 1.688 GB, free: 12.39 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/1.21, allocations: 5.686 MB / 1.693 GB, free: 6.594 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/1.21, allocations: 0 / 1.693 GB, free: 6.594 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/1.211, allocations: 168 kB / 1.693 GB, free: 6.43 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001605/1.211, allocations: 163.8 kB / 1.694 GB, free: 6.27 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01726/1.228, allocations: 6.452 MB / 1.7 GB, free: 15.81 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.03737/1.266, allocations: 22.08 MB / 1.721 GB, free: 8.578 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.276, allocations: 4.401 MB / 1.726 GB, free: 4.07 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006477/1.282, allocations: 2.465 MB / 1.728 GB, free: 1.594 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01605/1.298, allocations: 8.203 MB / 1.736 GB, free: 9.059 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007071/1.306, allocations: 2.709 MB / 1.739 GB, free: 6.301 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00205/1.308, allocations: 285.2 kB / 1.739 GB, free: 6.02 MB / 1.089 GB Notification: Performance of pre-optimization done (n=308): time 9.258e-06/1.308, allocations: 0 / 1.739 GB, free: 6.02 MB / 1.089 GB Notification: Performance of matching and sorting (n=308): time 0.02314/1.331, allocations: 7.503 MB / 1.746 GB, free: 14.38 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/1.331, allocations: 240 kB / 1.747 GB, free: 14.1 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007092/1.338, allocations: 3.626 MB / 1.75 GB, free: 10.45 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0007871/1.339, allocations: 97.64 kB / 1.75 GB, free: 10.35 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/1.341, allocations: 2.05 MB / 1.752 GB, free: 8.281 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.342, allocations: 1.047 MB / 1.753 GB, free: 7.219 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002349/1.345, allocations: 0.7299 MB / 1.754 GB, free: 6.48 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/1.345, allocations: 305.1 kB / 1.754 GB, free: 6.18 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006704/1.351, allocations: 2.262 MB / 1.756 GB, free: 3.91 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007439/1.359, allocations: 2.934 MB / 1.759 GB, free: 0.75 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/1.372, allocations: 4.89 MB / 1.764 GB, free: 11.66 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-05/1.372, allocations: 4 kB / 1.764 GB, free: 11.66 MB / 1.12 GB Notification: Performance of matching and sorting (n=438) (initialization): time 0.01889/1.391, allocations: 6.035 MB / 1.77 GB, free: 5.574 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/1.391, allocations: 13.41 kB / 1.77 GB, free: 5.562 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/1.391, allocations: 12 kB / 1.77 GB, free: 5.551 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/1.393, allocations: 427.6 kB / 1.77 GB, free: 5.121 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00651/1.4, allocations: 1.174 MB / 1.772 GB, free: 3.945 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005055/1.405, allocations: 5.414 MB / 1.777 GB, free: 14.16 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007244/1.412, allocations: 0.6965 MB / 1.778 GB, free: 13.46 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008321/1.413, allocations: 167.9 kB / 1.778 GB, free: 13.3 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008787/1.422, allocations: 3.064 MB / 1.781 GB, free: 10.23 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007417/1.429, allocations: 2.887 MB / 1.784 GB, free: 7.113 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01319/1.442, allocations: 4.804 MB / 1.788 GB, free: 2.113 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.822e-05/1.442, allocations: 4 kB / 1.788 GB, free: 2.109 MB / 1.135 GB Notification: Performance of matching and sorting (n=438) (initialization_lambda0): time 0.01843/1.461, allocations: 5.922 MB / 1.794 GB, free: 12.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.461, allocations: 12 kB / 1.794 GB, free: 12.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.461, allocations: 12 kB / 1.794 GB, free: 12.12 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/1.462, allocations: 407.7 kB / 1.794 GB, free: 11.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006404/1.469, allocations: 1.158 MB / 1.796 GB, free: 10.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/1.474, allocations: 5.74 MB / 1.801 GB, free: 4.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007245/1.482, allocations: 0.7104 MB / 1.802 GB, free: 3.629 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008597/1.483, allocations: 163.9 kB / 1.802 GB, free: 3.469 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 12 (cooCoi.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,cooCoi.UAFroRated.isFulWet,cooCoi.UAFroRated.isFulDry,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 (422): * Single equations (assignments): 413 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(1,2), (5,2), (1,3), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001483/1.484, allocations: 385.8 kB / 1.802 GB, free: 3.086 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001633/1.486, allocations: 446.6 kB / 1.803 GB, free: 2.645 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/1.503, allocations: 5.731 MB / 1.808 GB, free: 12.84 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.813e-05/1.503, allocations: 32 kB / 1.808 GB, free: 12.81 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.504, allocations: 0 / 1.808 GB, free: 12.81 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01486/1.518, allocations: 4.601 MB / 1.813 GB, free: 8.152 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 postOpt removeSimpleEquations (simulation): time 0.02854/1.547, allocations: 10.85 MB / 1.824 GB, free: 13.14 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.547, allocations: 0 / 1.824 GB, free: 13.14 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004911/1.552, allocations: 0.8546 MB / 1.824 GB, free: 12.28 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/1.553, allocations: 319.9 kB / 1.825 GB, free: 11.95 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006004/1.554, allocations: 99.91 kB / 1.825 GB, free: 11.86 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00485/1.559, allocations: 6.105 MB / 1.831 GB, free: 5.262 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.559, allocations: 20.02 kB / 1.831 GB, free: 5.242 MB / 1.182 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.0603/1.619, allocations: 15.82 MB / 1.846 GB, free: 5.207 MB / 1.198 GB Error: post-optimization module symbolicJacobian (simulation) failed.