Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater") translateModel(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001702/0.001702, allocations: 182.9 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-master/package.mo): time 0.7087/0.7087, allocations: 133.4 MB / 150.1 MB, free: 11.12 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.331/1.331, allocations: 222.9 MB / 404.7 MB, free: 6.043 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.001024/0.001024, allocations: 106.6 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001004/0.001004, allocations: 55.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1335, allocations: 80.41 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.HeatPump_AirWater): time 0.35/0.4836, allocations: 53.71 MB / 0.6946 GB, free: 11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1907/0.6744, allocations: 173.2 MB / 0.8638 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004773/0.6792, allocations: 127.3 kB / 0.8639 GB, free: 13.56 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.004517/0.6837, allocations: 2.615 MB / 0.8664 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007951/0.6917, allocations: 3.322 MB / 0.8697 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.009039/0.7008, allocations: 3.478 MB / 0.8731 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.01143/0.7122, allocations: 10.27 MB / 0.8831 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007432/0.7197, allocations: 5.33 MB / 0.8883 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/0.726, allocations: 3.199 MB / 0.8914 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/0.7306, allocations: 3.521 MB / 0.8949 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.7318, allocations: 280 kB / 0.8951 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004997/0.7368, allocations: 2.056 MB / 0.8972 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.7386, allocations: 1.451 MB / 0.8986 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.003747/0.7423, allocations: 2.873 MB / 0.9014 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.7525, allocations: 9.437 MB / 0.9106 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7525, allocations: 0 / 0.9106 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7525, allocations: 4 kB / 0.9106 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001913/0.7527, allocations: 0 / 0.9106 GB, free: 13.58 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.01361/0.7663, allocations: 7.065 MB / 0.9175 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.7664, allocations: 12.03 kB / 0.9175 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/0.7783, allocations: 1.927 MB / 0.9194 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007749/0.7861, allocations: 4.037 MB / 0.9233 GB, free: 368 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005976/0.7867, allocations: 401.8 kB / 0.9237 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.7878, allocations: 404 kB / 0.9241 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.8023, allocations: 5.814 MB / 0.9298 GB, free: 9.59 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.8024, allocations: 3.938 kB / 0.9298 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007644/0.8032, allocations: 172 kB / 0.9299 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-05/0.8033, allocations: 100 kB / 0.93 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.8186, allocations: 6.146 MB / 0.936 GB, free: 3.168 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.2987/1.117, allocations: 21.82 MB / 0.9574 GB, free: 244.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/1.131, allocations: 4.921 MB / 0.9622 GB, free: 243.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004867/1.136, allocations: 2.049 MB / 0.9642 GB, free: 243 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01739/1.154, allocations: 9.536 MB / 0.9735 GB, free: 237.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005077/1.159, allocations: 2.432 MB / 0.9759 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001432/1.16, allocations: 220.2 kB / 0.9761 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=273): time 1.186e-05/1.16, allocations: 0 / 0.9761 GB, free: 236.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=273): time 0.01945/1.18, allocations: 6.973 MB / 0.9829 GB, free: 234.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.352e-05/1.18, allocations: 266 kB / 0.9831 GB, free: 234 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009919/1.19, allocations: 6.909 MB / 0.9899 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000639/1.191, allocations: 75.48 kB / 0.9899 GB, free: 230.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/1.193, allocations: 2.622 MB / 0.9925 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.194, allocations: 0.9285 MB / 0.9934 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/1.196, allocations: 0.7108 MB / 0.9941 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.901e-05/1.196, allocations: 305.9 kB / 0.9944 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004485/1.2, allocations: 1.958 MB / 0.9963 GB, free: 225.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/1.205, allocations: 2.639 MB / 0.9989 GB, free: 224 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1834/1.388, allocations: 34.18 MB / 1.032 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/1.389, allocations: 8 kB / 1.032 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=395) (initialization): time 0.01602/1.405, allocations: 5.591 MB / 1.038 GB, free: 186 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/1.405, allocations: 16.56 kB / 1.038 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.087e-05/1.405, allocations: 20.81 kB / 1.038 GB, free: 185.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/1.406, allocations: 286.3 kB / 1.038 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006919/1.413, allocations: 0.9476 MB / 1.039 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007993/1.421, allocations: 4.76 MB / 1.044 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/1.431, allocations: 465.4 kB / 1.044 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.433, allocations: 195.8 kB / 1.044 GB, free: 178.9 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.01306/1.446, allocations: 3.579 MB / 1.048 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009375/1.455, allocations: 2.643 MB / 1.05 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2037/1.659, allocations: 34.13 MB / 1.084 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.247e-05/1.659, allocations: 4 kB / 1.084 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=395) (initialization_lambda0): time 0.01537/1.674, allocations: 5.606 MB / 1.089 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.674, allocations: 12 kB / 1.089 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.728e-05/1.674, allocations: 16 kB / 1.089 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.675, allocations: 286.4 kB / 1.089 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004408/1.68, allocations: 0.9437 MB / 1.09 GB, free: 131 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/1.685, allocations: 4.795 MB / 1.095 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005443/1.69, allocations: 452.9 kB / 1.095 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007232/1.691, allocations: 187.8 kB / 1.096 GB, free: 125.2 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.00144/1.693, allocations: 419 kB / 1.096 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/1.694, allocations: 0.5092 MB / 1.097 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01489/1.709, allocations: 5.61 MB / 1.102 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.712e-05/1.709, allocations: 28 kB / 1.102 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/1.709, allocations: 4 kB / 1.102 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009255/1.719, allocations: 4.202 MB / 1.106 GB, free: 114.2 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.02237/1.741, allocations: 10.86 MB / 1.117 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.37e-05/1.741, allocations: 4 kB / 1.117 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/1.744, allocations: 0.7021 MB / 1.117 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009684/1.745, allocations: 250.3 kB / 1.118 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/1.746, allocations: 87.92 kB / 1.118 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/1.75, allocations: 4.678 MB / 1.122 GB, free: 96.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.75, allocations: 7.938 kB / 1.122 GB, free: 96.98 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.