Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet.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.008363/0.008363, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.001033/0.001033, allocations: 80.47 kB / 26.19 MB, free: 6.078 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.001193/0.001193, allocations: 168.6 kB / 30.12 MB, free: 2.184 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 0.9213/0.9213, allocations: 177.2 MB / 211.1 MB, free: 3.43 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6246/0.6246, allocations: 102.5 MB / 370.7 MB, free: 180 kB / 330.7 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="Time|firstOrder.y|pump2.rho_CF_ps|pump2.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="Time|firstOrder.y|pump2.rho_CF_ps|pump2.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 471.2 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006e-05/1.11e-05, allocations: 2.875 kB / 471.2 MB, free: 18.81 MB / 410.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_OffDesignInlet): time 0.1086/0.1086, allocations: 60.14 MB / 0.5189 GB, free: 11.47 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01802/0.1266, allocations: 17.53 MB / 0.536 GB, free: 9.887 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.1279, allocations: 47.62 kB / 0.5361 GB, free: 9.84 MB / 458.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.002303/0.1302, allocations: 1.146 MB / 0.5372 GB, free: 8.688 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.1325, allocations: 1.25 MB / 0.5384 GB, free: 7.43 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.1359, allocations: 1.935 MB / 0.5403 GB, free: 5.488 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.1392, allocations: 2.819 MB / 0.5431 GB, free: 2.66 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.1405, allocations: 0.9138 MB / 0.544 GB, free: 1.727 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1252/0.2657, allocations: 46.75 MB / 0.5896 GB, free: 4.176 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.2668, allocations: 0.9736 MB / 0.5906 GB, free: 3.199 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.267, allocations: 152 kB / 0.5907 GB, free: 3.051 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.2695, allocations: 1.726 MB / 0.5924 GB, free: 1.32 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003564/0.2699, allocations: 0.5563 MB / 0.5929 GB, free: 0.7617 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0005273/0.2704, allocations: 0.6153 MB / 0.5935 GB, free: 148 kB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.003969/0.2744, allocations: 3.31 MB / 0.5968 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2744, allocations: 4 kB / 0.5968 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2744, allocations: 0 / 0.5968 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.2744, allocations: 0 / 0.5968 GB, free: 12.82 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 370 * Number of variables: 370 Notification: Performance of Generate backend data structure: time 0.002715/0.2771, allocations: 2.944 MB / 0.5997 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.2772, allocations: 8.031 kB / 0.5997 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.2775, allocations: 359.2 kB / 0.6 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.2788, allocations: 1.454 MB / 0.6014 GB, free: 7.941 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.2789, allocations: 86.53 kB / 0.6015 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.279, allocations: 116.3 kB / 0.6016 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00228/0.2813, allocations: 2.261 MB / 0.6038 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.2813, allocations: 19.81 kB / 0.6038 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/0.2814, allocations: 52 kB / 0.6039 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.2814, allocations: 32 kB / 0.6039 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.283, allocations: 1.076 MB / 0.605 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005947/0.2889, allocations: 12.73 MB / 0.6174 GB, free: 6.66 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2908, allocations: 1.087 MB / 0.6185 GB, free: 5.48 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.2911, allocations: 362.7 kB / 0.6188 GB, free: 5.082 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.2912, allocations: 88.83 kB / 0.6189 GB, free: 4.996 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.2927, allocations: 1.126 MB / 0.62 GB, free: 3.758 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=192): time 2.605e-06/0.2927, allocations: 0 / 0.62 GB, free: 3.758 MB / 0.5262 GB Notification: Performance of matching and sorting (n=193): time 0.006169/0.2989, allocations: 3.665 MB / 0.6236 GB, free: 15.96 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.299, allocations: 0.5589 MB / 0.6241 GB, free: 15.27 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3003, allocations: 1.699 MB / 0.6258 GB, free: 13.52 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.373e-05/0.3003, allocations: 41.7 kB / 0.6258 GB, free: 13.48 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.3008, allocations: 0.9609 MB / 0.6268 GB, free: 12.5 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003529/0.3012, allocations: 0.6544 MB / 0.6274 GB, free: 11.84 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.3016, allocations: 465.2 kB / 0.6278 GB, free: 11.38 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.3017, allocations: 484.7 kB / 0.6283 GB, free: 10.9 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.3021, allocations: 373.5 kB / 0.6287 GB, free: 10.51 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007724/0.3028, allocations: 1.361 MB / 0.63 GB, free: 8.723 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3041, allocations: 1.744 MB / 0.6317 GB, free: 6.574 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3041, allocations: 7.984 kB / 0.6317 GB, free: 6.566 MB / 0.5418 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.002099/0.3062, allocations: 1.889 MB / 0.6335 GB, free: 4.629 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.3063, allocations: 125 kB / 0.6337 GB, free: 4.488 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00137/0.3076, allocations: 1.22 MB / 0.6349 GB, free: 3.227 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.3079, allocations: 99.61 kB / 0.635 GB, free: 3.125 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/0.3087, allocations: 0.4991 MB / 0.6354 GB, free: 2.625 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.3119, allocations: 2.769 MB / 0.6381 GB, free: 15.75 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007167/0.3126, allocations: 91.77 kB / 0.6382 GB, free: 15.66 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.3127, allocations: 116 kB / 0.6383 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006733/0.3134, allocations: 0.5155 MB / 0.6388 GB, free: 15 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008047/0.3142, allocations: 1.349 MB / 0.6402 GB, free: 13.22 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001276/0.3155, allocations: 1.748 MB / 0.6419 GB, free: 11.08 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.167e-06/0.3155, allocations: 4 kB / 0.6419 GB, free: 11.07 MB / 0.5574 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.002212/0.3177, allocations: 1.902 MB / 0.6437 GB, free: 9.117 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/0.3177, allocations: 113 kB / 0.6438 GB, free: 8.988 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001384/0.3191, allocations: 1.223 MB / 0.645 GB, free: 7.723 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.3194, allocations: 99.55 kB / 0.6451 GB, free: 7.621 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008158/0.3202, allocations: 0.4952 MB / 0.6456 GB, free: 7.125 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003139/0.3233, allocations: 2.769 MB / 0.6483 GB, free: 4.242 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008193/0.3241, allocations: 91.77 kB / 0.6484 GB, free: 4.152 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.3243, allocations: 111.9 kB / 0.6485 GB, free: 4.043 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (Delta_T_in_Ramp.nextEventScaled,Delta_T_in_Ramp.nextEvent,$PRE.Delta_T_in_Ramp.nextEvent,Delta_T_in_Ramp.last,Delta_T_in_Ramp.b,Delta_T_in_Ramp.a,Delta_p_out_Ramp.nextEventScaled,Delta_p_out_Ramp.nextEvent,$PRE.Delta_p_out_Ramp.nextEvent,Delta_p_out_Ramp.last,Delta_p_out_Ramp.b,Delta_p_out_Ramp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 3 * 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.000465/0.3247, allocations: 0.5025 MB / 0.649 GB, free: 3.516 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/0.3251, allocations: 278.4 kB / 0.6493 GB, free: 3.242 MB / 0.5574 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 223 equation(s) and 215 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump2.summary.inlet.steamQuality, pump2.fluidIn.cp, pump2.fluidIn.cv, pump2.fluidIn.beta, pump2.fluidIn.kappa, pump2.fluidIn.drhodp_hxi, pump2.fluidIn.drhodh_pxi, _, pump2.fluidIn.w, pump2.fluidIn.gamma) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) 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.002041/0.3271, allocations: 1.821 MB / 0.651 GB, free: 1.367 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1235812273807824]