Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7079/0.7079, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 403.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009284/0.0009284, allocations: 109.6 kB / 484.4 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009919/0.0009919, allocations: 55.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1318, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater): time 0.04862/0.1805, allocations: 53.73 MB / 0.6926 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.5166/0.6971, allocations: 173.2 MB / 0.8618 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006629/0.7038, allocations: 119.4 kB / 0.8619 GB, free: 15.55 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.005075/0.7089, allocations: 2.627 MB / 0.8645 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009494/0.7184, allocations: 3.324 MB / 0.8677 GB, free: 9.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.7291, allocations: 3.475 MB / 0.8711 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01313/0.7422, allocations: 10.25 MB / 0.8811 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009134/0.7514, allocations: 5.344 MB / 0.8863 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00807/0.7595, allocations: 3.205 MB / 0.8895 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005534/0.765, allocations: 3.514 MB / 0.8929 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001615/0.7667, allocations: 284 kB / 0.8932 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005935/0.7726, allocations: 2.067 MB / 0.8952 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002334/0.775, allocations: 1.436 MB / 0.8966 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005011/0.78, allocations: 2.893 MB / 0.8994 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.7934, allocations: 9.425 MB / 0.9086 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.7935, allocations: 0 / 0.9086 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7935, allocations: 0 / 0.9086 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003639/0.7939, allocations: 0 / 0.9086 GB, free: 15.56 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1044 * Number of variables: 1044 Notification: Performance of Generate backend data structure: time 0.01851/0.8124, allocations: 7.08 MB / 0.9155 GB, free: 8.391 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8125, allocations: 8.031 kB / 0.9156 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.8251, allocations: 1.927 MB / 0.9174 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009131/0.8343, allocations: 4.042 MB / 0.9214 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007208/0.835, allocations: 397.8 kB / 0.9218 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/0.8367, allocations: 404 kB / 0.9221 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.8514, allocations: 5.806 MB / 0.9278 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/0.8515, allocations: 7.938 kB / 0.9278 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008303/0.8524, allocations: 172 kB / 0.928 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.553e-05/0.8525, allocations: 100 kB / 0.9281 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01471/0.8672, allocations: 6.154 MB / 0.9341 GB, free: 5.133 MB / 0.6667 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.3389/1.206, allocations: 21.81 MB / 0.9554 GB, free: 247.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/1.22, allocations: 4.928 MB / 0.9602 GB, free: 247.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005781/1.226, allocations: 2.047 MB / 0.9622 GB, free: 246.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0182/1.244, allocations: 9.526 MB / 0.9715 GB, free: 241.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004893/1.249, allocations: 2.431 MB / 0.9739 GB, free: 240.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001148/1.25, allocations: 223.5 kB / 0.9741 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=273): time 5.811e-06/1.25, allocations: 3.891 kB / 0.9741 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=273): time 0.01776/1.268, allocations: 6.985 MB / 0.9809 GB, free: 238.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/1.268, allocations: 260.8 kB / 0.9812 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007617/1.276, allocations: 6.899 MB / 0.9879 GB, free: 234.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006692/1.277, allocations: 85.42 kB / 0.988 GB, free: 234.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/1.278, allocations: 2.622 MB / 0.9905 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009727/1.279, allocations: 0.9187 MB / 0.9914 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/1.28, allocations: 0.7212 MB / 0.9921 GB, free: 231.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/1.281, allocations: 304.5 kB / 0.9924 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004271/1.285, allocations: 1.954 MB / 0.9943 GB, free: 229.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/1.29, allocations: 2.645 MB / 0.9969 GB, free: 228 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1671/1.457, allocations: 34.18 MB / 1.03 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/1.457, allocations: 9.5 kB / 1.03 GB, free: 196.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=395) (initialization): time 0.01526/1.472, allocations: 5.591 MB / 1.036 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/1.472, allocations: 12.81 kB / 1.036 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.315e-05/1.472, allocations: 19.94 kB / 1.036 GB, free: 190.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/1.473, allocations: 278.4 kB / 1.036 GB, free: 190.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0045/1.478, allocations: 0.9476 MB / 1.037 GB, free: 189.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005379/1.483, allocations: 4.779 MB / 1.042 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005936/1.489, allocations: 464.7 kB / 1.042 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.49, allocations: 187.8 kB / 1.042 GB, free: 183.5 MB / 0.6823 GB Warning: Assuming fixed start value for the following 1 variables: heater.vol.dynBal.U:VARIABLE(start = 0.004017734279107983 * heater.vol.dynBal.rho_start * IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.heater.vol.dynBal.Medium.specificInternalEnergy(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.heater.vol.dynBal.Medium.setState_pTX(heater.vol.dynBal.p_start, heater.vol.dynBal.T_start, {})) + (heater.vol.dynBal.T_start - 298.15) * 10000.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008844/1.499, allocations: 3.572 MB / 1.046 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005584/1.505, allocations: 2.643 MB / 1.048 GB, free: 177 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1703/1.675, allocations: 34.15 MB / 1.082 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.502e-05/1.675, allocations: 4 kB / 1.082 GB, free: 142.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=395) (initialization_lambda0): time 0.01492/1.69, allocations: 5.594 MB / 1.087 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.69, allocations: 15.94 kB / 1.087 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/1.69, allocations: 28.05 kB / 1.087 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.691, allocations: 270.4 kB / 1.087 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/1.696, allocations: 0.9476 MB / 1.088 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005055/1.701, allocations: 4.795 MB / 1.093 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005596/1.707, allocations: 446.7 kB / 1.094 GB, free: 130 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008483/1.707, allocations: 195.8 kB / 1.094 GB, free: 129.8 MB / 0.6823 GB Warning: Assuming fixed start value for the following 1 variables: heater.vol.dynBal.U:VARIABLE(start = 0.004017734279107983 * heater.vol.dynBal.rho_start * IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.heater.vol.dynBal.Medium.specificInternalEnergy(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater.heater.vol.dynBal.Medium.setState_pTX(heater.vol.dynBal.p_start, heater.vol.dynBal.T_start, {})) + (heater.vol.dynBal.T_start - 298.15) * 10000.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 17 (heater.booleanExpression.y,sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,$PRE.heater.heatSource.onOff.y_boolean,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,heater.heatSource.onOff.y_boolean,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 384 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00147/1.709, allocations: 408.1 kB / 1.094 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/1.711, allocations: 0.5092 MB / 1.095 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.725, allocations: 5.625 MB / 1.1 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/1.725, allocations: 32 kB / 1.1 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/1.726, allocations: 0 / 1.1 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009643/1.735, allocations: 4.194 MB / 1.104 GB, free: 118.8 MB / 0.6823 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.02264/1.758, allocations: 10.85 MB / 1.115 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/1.758, allocations: 11.88 kB / 1.115 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003203/1.761, allocations: 0.7099 MB / 1.115 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009095/1.762, allocations: 242.3 kB / 1.116 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/1.762, allocations: 87.92 kB / 1.116 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/1.767, allocations: 4.686 MB / 1.12 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.767, allocations: 3.938 kB / 1.12 GB, free: 101.6 MB / 0.6823 GB Error: Too many equations, over-determined system. The model has 34 equation(s) and 33 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.