Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01338/0.01338, allocations: 1.348 MB / 20.45 MB, free: 1.262 MB / 14.72 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.001797/0.001797, allocations: 76.27 kB / 24.02 MB, free: 2.605 MB / 14.72 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.002206/0.002206, allocations: 152 kB / 27.7 MB, free: 3.863 MB / 19.63 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.591/1.591, allocations: 177.2 MB / 208.4 MB, free: 7.664 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 1.142/1.142, allocations: 102.5 MB / 367.7 MB, free: 4.566 MB / 334.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.3.1 (/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_dev_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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.5364 GB, free: 7.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.111e-05/4.334e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.086 MB / 446.1 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.1965/0.1966, allocations: 56.79 MB / 0.5919 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03107/0.2276, allocations: 16.82 MB / 0.6083 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003078/0.2307, allocations: 51.56 kB / 0.6084 GB, free: 15.91 MB / 0.5138 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.004806/0.2355, allocations: 1.126 MB / 0.6095 GB, free: 14.78 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005317/0.2408, allocations: 1.242 MB / 0.6107 GB, free: 13.53 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.006328/0.2472, allocations: 1.939 MB / 0.6126 GB, free: 11.58 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.006037/0.2532, allocations: 2.823 MB / 0.6153 GB, free: 8.746 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.2554, allocations: 0.8392 MB / 0.6162 GB, free: 7.883 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003212/0.2586, allocations: 1.57 MB / 0.6177 GB, free: 6.309 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.2607, allocations: 1.093 MB / 0.6188 GB, free: 5.215 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0004198/0.2612, allocations: 204 kB / 0.6189 GB, free: 5.016 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004798/0.2659, allocations: 1.804 MB / 0.6207 GB, free: 3.207 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0008412/0.2668, allocations: 0.6578 MB / 0.6214 GB, free: 2.547 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.2679, allocations: 0.6973 MB / 0.622 GB, free: 1.848 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.2783, allocations: 4.479 MB / 0.6264 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.2783, allocations: 0 / 0.6264 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2783, allocations: 4 kB / 0.6264 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.76e-05/0.2784, allocations: 0 / 0.6264 GB, free: 13.35 MB / 0.5294 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.007065/0.2854, allocations: 2.986 MB / 0.6293 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.2855, allocations: 12.03 kB / 0.6293 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.2866, allocations: 331.1 kB / 0.6297 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/0.2918, allocations: 2.549 MB / 0.6321 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.2919, allocations: 90.53 kB / 0.6322 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.2921, allocations: 112.4 kB / 0.6323 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005569/0.2977, allocations: 2.464 MB / 0.6347 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.014e-05/0.2978, allocations: 19.81 kB / 0.6348 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.2979, allocations: 51.94 kB / 0.6348 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.2979, allocations: 43.92 kB / 0.6349 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004698/0.3026, allocations: 1.683 MB / 0.6365 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.3143, allocations: 9.515 MB / 0.6458 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004446/0.3187, allocations: 1.397 MB / 0.6472 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.32, allocations: 0.5894 MB / 0.6477 GB, free: 6.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.3203, allocations: 72.91 kB / 0.6478 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003728/0.324, allocations: 1.377 MB / 0.6491 GB, free: 5.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=192): time 3.527e-06/0.324, allocations: 4 kB / 0.6491 GB, free: 5.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=193): time 0.02118/0.3452, allocations: 8.457 MB / 0.6574 GB, free: 12.42 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004252/0.3456, allocations: 0.5163 MB / 0.6579 GB, free: 11.79 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.349, allocations: 1.832 MB / 0.6597 GB, free: 9.914 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003041/0.3493, allocations: 45.7 kB / 0.6597 GB, free: 9.863 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.3503, allocations: 0.8632 MB / 0.6606 GB, free: 8.988 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009318/0.3512, allocations: 0.6389 MB / 0.6612 GB, free: 8.344 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007764/0.352, allocations: 435.5 kB / 0.6616 GB, free: 7.914 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3522, allocations: 301.1 kB / 0.6619 GB, free: 7.617 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.3541, allocations: 0.7328 MB / 0.6626 GB, free: 6.859 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.3566, allocations: 1.389 MB / 0.664 GB, free: 5.164 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004585/0.3612, allocations: 2.191 MB / 0.6661 GB, free: 2.672 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.787e-05/0.3613, allocations: 4 kB / 0.6661 GB, free: 2.668 MB / 0.5607 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007179/0.3684, allocations: 2.563 MB / 0.6686 GB, free: 56 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.3686, allocations: 113.1 kB / 0.6687 GB, free: 15.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004665/0.3733, allocations: 1.88 MB / 0.6706 GB, free: 14.01 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008173/0.3741, allocations: 120.8 kB / 0.6707 GB, free: 13.89 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.3759, allocations: 0.4914 MB / 0.6712 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008643/0.3846, allocations: 2.39 MB / 0.6735 GB, free: 10.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.3868, allocations: 95.77 kB / 0.6736 GB, free: 10.81 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002604/0.3871, allocations: 127.9 kB / 0.6737 GB, free: 10.69 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002943/0.39, allocations: 1.127 MB / 0.6748 GB, free: 9.535 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002318/0.3923, allocations: 1.396 MB / 0.6762 GB, free: 7.836 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004325/0.3967, allocations: 2.175 MB / 0.6783 GB, free: 5.355 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-05/0.3967, allocations: 4 kB / 0.6783 GB, free: 5.352 MB / 0.5763 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.008041/0.4047, allocations: 2.567 MB / 0.6808 GB, free: 2.734 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.4049, allocations: 113.1 kB / 0.6809 GB, free: 2.605 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007208/0.4121, allocations: 1.868 MB / 0.6827 GB, free: 0.6992 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001259/0.4133, allocations: 112.9 kB / 0.6829 GB, free: 0.5859 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002995/0.4163, allocations: 0.5031 MB / 0.6833 GB, free: 84 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/0.4283, allocations: 2.39 MB / 0.6857 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.4314, allocations: 83.83 kB / 0.6858 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/0.4319, allocations: 132 kB / 0.6859 GB, free: 13.38 MB / 0.5919 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.001109/0.4331, allocations: 422.6 kB / 0.6863 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.4341, allocations: 238.4 kB / 0.6865 GB, free: 12.71 MB / 0.5919 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.00675/0.4408, allocations: 2.082 MB / 0.6886 GB, free: 10.58 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.955214414745569] Failed to read output from testmodel.py, exit status != 0: 0.9270399734377861 0.937718966 0.656807336 Calling exit ...