Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.01507/0.01507, allocations: 1.343 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.00177/0.00177, allocations: 82.77 kB / 24.02 MB, free: 2.609 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.002307/0.002307, allocations: 154.2 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.519/1.519, allocations: 177.2 MB / 208.4 MB, free: 7.684 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.099/1.099, allocations: 102.5 MB / 367.7 MB, free: 4.586 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_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_dev_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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 0.5364 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.414e-05/3.612e-05, allocations: 2.281 kB / 0.5364 GB, free: 7.156 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_OffDesign): time 0.1694/0.1695, allocations: 56.73 MB / 0.5918 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03119/0.2007, allocations: 16.69 MB / 0.6081 GB, free: 192 kB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.2032, allocations: 47.62 kB / 0.6082 GB, free: 144 kB / 0.4982 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.004535/0.2077, allocations: 1.22 MB / 0.6094 GB, free: 14.91 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.213, allocations: 1.324 MB / 0.6107 GB, free: 13.58 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.006748/0.2197, allocations: 1.883 MB / 0.6125 GB, free: 11.7 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.005348/0.2251, allocations: 2.796 MB / 0.6152 GB, free: 8.887 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.2267, allocations: 0.8508 MB / 0.6161 GB, free: 8.012 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.2292, allocations: 1.57 MB / 0.6176 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.231, allocations: 1.188 MB / 0.6188 GB, free: 5.246 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.2313, allocations: 200 kB / 0.619 GB, free: 5.051 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00404/0.2353, allocations: 1.738 MB / 0.6206 GB, free: 3.309 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.0007093/0.236, allocations: 0.6772 MB / 0.6213 GB, free: 2.629 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.0009841/0.237, allocations: 0.7011 MB / 0.622 GB, free: 1.926 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.008857/0.2459, allocations: 4.428 MB / 0.6263 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.2459, allocations: 0 / 0.6263 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.816e-06/0.2459, allocations: 0 / 0.6263 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.132e-05/0.246, allocations: 0 / 0.6263 GB, free: 13.48 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.007118/0.2531, allocations: 3.004 MB / 0.6293 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.2531, allocations: 8.031 kB / 0.6293 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.2543, allocations: 339 kB / 0.6296 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.2603, allocations: 2.578 MB / 0.6321 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.2604, allocations: 90.44 kB / 0.6322 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.2606, allocations: 108.4 kB / 0.6323 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005399/0.266, allocations: 2.438 MB / 0.6347 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.2661, allocations: 15.81 kB / 0.6347 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.2662, allocations: 56 kB / 0.6347 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.2662, allocations: 32 kB / 0.6348 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004513/0.2708, allocations: 1.661 MB / 0.6364 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/0.2816, allocations: 9.501 MB / 0.6457 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.2856, allocations: 1.32 MB / 0.647 GB, free: 7.477 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.2868, allocations: 0.5646 MB / 0.6475 GB, free: 6.887 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.287, allocations: 76.48 kB / 0.6476 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003253/0.2903, allocations: 1.279 MB / 0.6488 GB, free: 5.445 MB / 0.545 GB Notification: Performance of pre-optimization done (n=178): time 3.727e-06/0.2903, allocations: 0 / 0.6488 GB, free: 5.445 MB / 0.545 GB Notification: Performance of matching and sorting (n=179): time 0.01905/0.3093, allocations: 8.745 MB / 0.6574 GB, free: 12.56 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003367/0.3097, allocations: 0.5087 MB / 0.6579 GB, free: 11.94 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/0.3126, allocations: 1.985 MB / 0.6598 GB, free: 9.918 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.3128, allocations: 42.55 kB / 0.6598 GB, free: 9.871 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009512/0.3138, allocations: 0.9182 MB / 0.6607 GB, free: 8.941 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007308/0.3145, allocations: 0.6002 MB / 0.6613 GB, free: 8.336 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/0.3152, allocations: 427.3 kB / 0.6617 GB, free: 7.914 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3154, allocations: 301.1 kB / 0.662 GB, free: 7.617 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.317, allocations: 0.7117 MB / 0.6627 GB, free: 6.887 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.3193, allocations: 1.389 MB / 0.6641 GB, free: 5.188 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.3232, allocations: 2.165 MB / 0.6662 GB, free: 2.723 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.3232, allocations: 8 kB / 0.6662 GB, free: 2.715 MB / 0.5607 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.005912/0.3291, allocations: 2.553 MB / 0.6687 GB, free: 128 kB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.331e-05/0.3292, allocations: 75.39 kB / 0.6688 GB, free: 40 kB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004103/0.3333, allocations: 1.81 MB / 0.6705 GB, free: 14.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/0.3341, allocations: 112.8 kB / 0.6706 GB, free: 14.09 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.3357, allocations: 499.2 kB / 0.6711 GB, free: 13.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/0.3438, allocations: 2.401 MB / 0.6735 GB, free: 11.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.346, allocations: 91.72 kB / 0.6735 GB, free: 11.01 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/0.3463, allocations: 131.9 kB / 0.6737 GB, free: 10.88 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002681/0.3489, allocations: 1.14 MB / 0.6748 GB, free: 9.723 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002135/0.3511, allocations: 1.381 MB / 0.6761 GB, free: 8.035 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003773/0.3548, allocations: 2.162 MB / 0.6782 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.336e-05/0.3549, allocations: 8 kB / 0.6783 GB, free: 5.566 MB / 0.5763 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.006004/0.3609, allocations: 2.542 MB / 0.6807 GB, free: 2.992 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.361, allocations: 83.42 kB / 0.6808 GB, free: 2.898 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00407/0.365, allocations: 1.79 MB / 0.6826 GB, free: 1.078 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006659/0.3657, allocations: 116.8 kB / 0.6827 GB, free: 0.9609 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.3673, allocations: 0.4991 MB / 0.6832 GB, free: 472 kB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007769/0.3751, allocations: 2.39 MB / 0.6855 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.3771, allocations: 95.72 kB / 0.6856 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/0.3774, allocations: 123.9 kB / 0.6857 GB, free: 13.76 MB / 0.5919 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.0008776/0.3783, allocations: 383.1 kB / 0.6861 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005868/0.3788, allocations: 242.4 kB / 0.6863 GB, free: 13.12 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 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.004267/0.3831, allocations: 2.045 MB / 0.6883 GB, free: 11.04 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.721066314727068] Failed to read output from testmodel.py, exit status != 0: 0.864959292113781 0.875249105 0.627059038 Calling exit ...