Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01456/0.01456, allocations: 1.454 MB / 20.8 MB, free: 3.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.008523/0.008523, allocations: 83.48 kB / 24.44 MB, free: 7.531 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 160.8 kB / 28.2 MB, free: 4.668 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 177.2 MB / 209 MB, free: 2.789 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.05/1.05, allocations: 102.5 MB / 368.4 MB, free: 1.273 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package SMArtInt with version 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.278e-05/4.508e-05, allocations: 2.312 kB / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign): time 0.2185/0.2185, allocations: 56.91 MB / 0.5129 GB, free: 4.535 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2915/0.51, allocations: 16.7 MB / 0.5292 GB, free: 70.49 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00234/0.5124, allocations: 49.38 kB / 0.5293 GB, free: 70.46 MB / 490.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.003659/0.516, allocations: 1.218 MB / 0.5305 GB, free: 69.95 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.5199, allocations: 1.314 MB / 0.5317 GB, free: 69.21 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005136/0.525, allocations: 1.865 MB / 0.5336 GB, free: 68.28 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.529, allocations: 2.804 MB / 0.5363 GB, free: 66.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.5308, allocations: 0.8946 MB / 0.5372 GB, free: 66.32 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.5345, allocations: 1.584 MB / 0.5387 GB, free: 65.65 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.537, allocations: 1.174 MB / 0.5399 GB, free: 65.3 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009042/0.5379, allocations: 200.6 kB / 0.5401 GB, free: 65.3 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09616/0.634, allocations: 17.22 MB / 0.5569 GB, free: 55.86 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001634/0.6357, allocations: 0.6768 MB / 0.5575 GB, free: 55.48 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003225/0.6389, allocations: 0.7009 MB / 0.5582 GB, free: 55.14 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.6505, allocations: 4.423 MB / 0.5625 GB, free: 53.56 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6505, allocations: 1.375 kB / 0.5625 GB, free: 53.56 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6505, allocations: 0 / 0.5625 GB, free: 53.56 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001722/0.6506, allocations: 1.5 kB / 0.5625 GB, free: 53.56 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.009986/0.6606, allocations: 3.015 MB / 0.5655 GB, free: 51.64 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.6607, allocations: 10.12 kB / 0.5655 GB, free: 51.64 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.6628, allocations: 426 kB / 0.5659 GB, free: 51.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006802/0.6696, allocations: 2.645 MB / 0.5685 GB, free: 50.16 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.6698, allocations: 89.78 kB / 0.5686 GB, free: 50.12 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/0.6702, allocations: 122.4 kB / 0.5687 GB, free: 50.08 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006052/0.6763, allocations: 2.432 MB / 0.5711 GB, free: 48.41 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.57e-05/0.6763, allocations: 9.656 kB / 0.5711 GB, free: 48.41 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.6765, allocations: 57.72 kB / 0.5711 GB, free: 48.37 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.6766, allocations: 37.19 kB / 0.5712 GB, free: 48.36 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.6811, allocations: 1.66 MB / 0.5728 GB, free: 47.53 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0101/0.6912, allocations: 9.545 MB / 0.5821 GB, free: 38.86 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004131/0.6954, allocations: 1.322 MB / 0.5834 GB, free: 37.86 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.6964, allocations: 0.5504 MB / 0.5839 GB, free: 37.27 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/0.6966, allocations: 76.48 kB / 0.584 GB, free: 37.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002957/0.6996, allocations: 1.283 MB / 0.5853 GB, free: 35.84 MB / 490.8 MB Notification: Performance of pre-optimization done (n=178): time 5.149e-06/0.6996, allocations: 0 / 0.5853 GB, free: 35.84 MB / 490.8 MB Notification: Performance of matching and sorting (n=179): time 0.01611/0.7157, allocations: 8.849 MB / 0.5939 GB, free: 26.88 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.7158, allocations: 0.5009 MB / 0.5944 GB, free: 26.26 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002845/0.7187, allocations: 1.985 MB / 0.5963 GB, free: 24.24 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.7188, allocations: 45.7 kB / 0.5964 GB, free: 24.19 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006051/0.7194, allocations: 0.9182 MB / 0.5973 GB, free: 23.26 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/0.7199, allocations: 0.5963 MB / 0.5978 GB, free: 22.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006355/0.7206, allocations: 431.3 kB / 0.5983 GB, free: 22.23 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.323e-05/0.7206, allocations: 303.8 kB / 0.5985 GB, free: 21.93 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.7218, allocations: 0.7153 MB / 0.5992 GB, free: 21.2 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.7233, allocations: 1.393 MB / 0.6006 GB, free: 19.5 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.726, allocations: 2.164 MB / 0.6027 GB, free: 17.06 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.691e-05/0.7261, allocations: 8 kB / 0.6027 GB, free: 17.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005283/0.7313, allocations: 2.616 MB / 0.6053 GB, free: 14.41 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.7314, allocations: 78.05 kB / 0.6054 GB, free: 14.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003289/0.7347, allocations: 1.807 MB / 0.6071 GB, free: 12.5 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008471/0.7355, allocations: 135.4 kB / 0.6073 GB, free: 12.36 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.737, allocations: 499.2 kB / 0.6077 GB, free: 11.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.7438, allocations: 2.407 MB / 0.6101 GB, free: 9.422 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.7458, allocations: 91.97 kB / 0.6102 GB, free: 9.332 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/0.7462, allocations: 131.9 kB / 0.6103 GB, free: 9.203 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002526/0.7488, allocations: 1.146 MB / 0.6114 GB, free: 8.043 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001624/0.7504, allocations: 1.385 MB / 0.6128 GB, free: 6.348 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00288/0.7533, allocations: 2.152 MB / 0.6149 GB, free: 3.922 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.85e-05/0.7533, allocations: 4 kB / 0.6149 GB, free: 3.918 MB / 490.8 MB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.005116/0.7584, allocations: 2.624 MB / 0.6174 GB, free: 1.273 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.7585, allocations: 82.02 kB / 0.6175 GB, free: 1.184 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003664/0.7621, allocations: 1.791 MB / 0.6193 GB, free: 15.37 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008289/0.763, allocations: 127.4 kB / 0.6194 GB, free: 15.24 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.7647, allocations: 0.4953 MB / 0.6199 GB, free: 14.75 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007993/0.7727, allocations: 2.409 MB / 0.6222 GB, free: 12.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.7745, allocations: 91.77 kB / 0.6223 GB, free: 12.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004313/0.7749, allocations: 123.9 kB / 0.6224 GB, free: 12.08 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 14 (Delta_pRamp.nextEventScaled,Delta_pRamp.nextEvent,$PRE.Delta_pRamp.nextEvent,Delta_pRamp.last,Delta_pRamp.b,Delta_pRamp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009481/0.7759, allocations: 386.6 kB / 0.6228 GB, free: 11.69 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009991/0.7769, allocations: 274.3 kB / 0.6231 GB, free: 11.42 MB / 0.4949 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 190 equation(s) and 183 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump.summary.inlet.steamQuality, pump.fluidIn.cp, pump.fluidIn.cv, pump.fluidIn.beta, pump.fluidIn.kappa, pump.fluidIn.drhodp_hxi, pump.fluidIn.drhodh_pxi, _, pump.fluidIn.w, pump.fluidIn.gamma) = ($cse35, $cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44) has size 9 but 7 variables ($whenCondition1, rpmRamp.a, rpmRamp.b, rpmRamp.last, rpmRamp.nextEvent, rpmRamp.nextEventScaled, rpmRamp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/0.7817, allocations: 2.033 MB / 0.625 GB, free: 9.449 MB / 0.4949 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.484205760061741]