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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.0107/0.0107, allocations: 1.763 MB / 20.61 MB, free: 3.863 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09072/0.09072, allocations: 25.61 MB / 49.71 MB, free: 2.922 MB / 33.03 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.001011/0.001011, allocations: 118.1 kB / 60.65 MB, free: 3.023 MB / 44.04 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.0014/0.0014, allocations: 229.8 kB / 71.73 MB, free: 6.469 MB / 44.04 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.012/1.012, allocations: 230.7 MB / 313.3 MB, free: 11.75 MB / 234.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.7733/0.7733, allocations: 130.7 MB / 0.4963 GB, free: 2.164 MB / 362.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: 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: ClaRa 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: Performance of FrontEnd - loaded program: time 0.00417/0.00417, allocations: 153.2 kB / 0.69 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1238, allocations: 89.27 MB / 0.7772 GB, free: 2.992 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet): time 0.008178/0.1319, allocations: 10.16 MB / 0.7871 GB, free: 8.781 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.1488, allocations: 17.1 MB / 0.8038 GB, free: 7.625 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.1502, allocations: 47.62 kB / 0.8039 GB, free: 7.578 MB / 0.573 GB [/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.002553/0.1527, allocations: 1.123 MB / 0.805 GB, free: 6.449 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.155, allocations: 1.208 MB / 0.8062 GB, free: 5.238 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.1581, allocations: 1.911 MB / 0.808 GB, free: 3.324 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002543/0.1607, allocations: 2.75 MB / 0.8107 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.1617, allocations: 0.8276 MB / 0.8115 GB, free: 15.71 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.1631, allocations: 1.167 MB / 0.8127 GB, free: 14.54 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.1645, allocations: 1.244 MB / 0.8139 GB, free: 13.29 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003948/0.1649, allocations: 204 kB / 0.8141 GB, free: 13.09 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.1676, allocations: 1.797 MB / 0.8158 GB, free: 11.29 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004623/0.168, allocations: 0.65 MB / 0.8165 GB, free: 10.64 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008641/0.1689, allocations: 0.878 MB / 0.8173 GB, free: 9.754 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.1734, allocations: 4.414 MB / 0.8216 GB, free: 5.324 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1735, allocations: 0 / 0.8216 GB, free: 5.324 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1735, allocations: 0 / 0.8216 GB, free: 5.324 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 8.109e-05/0.1735, allocations: 0 / 0.8216 GB, free: 5.324 MB / 0.5887 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.004121/0.1777, allocations: 3.021 MB / 0.8246 GB, free: 2.234 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1777, allocations: 8.031 kB / 0.8246 GB, free: 2.227 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.1779, allocations: 199.5 kB / 0.8248 GB, free: 2.02 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006402/0.1785, allocations: 327.1 kB / 0.8251 GB, free: 1.699 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.1818, allocations: 2.552 MB / 0.8276 GB, free: 15.12 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.1819, allocations: 90.53 kB / 0.8277 GB, free: 15.03 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.182, allocations: 115.9 kB / 0.8278 GB, free: 14.91 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.185, allocations: 2.464 MB / 0.8302 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.1851, allocations: 11.88 kB / 0.8302 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.1852, allocations: 52 kB / 0.8302 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.1852, allocations: 35.98 kB / 0.8303 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.1878, allocations: 1.683 MB / 0.8319 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006262/0.1941, allocations: 9.713 MB / 0.8414 GB, free: 228 kB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.1966, allocations: 1.412 MB / 0.8428 GB, free: 14.74 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.1973, allocations: 0.5875 MB / 0.8434 GB, free: 14.12 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001845/0.1975, allocations: 80.89 kB / 0.8434 GB, free: 14.04 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/0.1995, allocations: 1.37 MB / 0.8448 GB, free: 12.57 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=192): time 4.098e-06/0.1995, allocations: 4 kB / 0.8448 GB, free: 12.57 MB / 0.6199 GB Notification: Performance of matching and sorting (n=193): time 0.009949/0.2095, allocations: 8.456 MB / 0.853 GB, free: 3.953 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.2096, allocations: 0.5167 MB / 0.8535 GB, free: 3.32 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.2115, allocations: 1.872 MB / 0.8554 GB, free: 1.41 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.2116, allocations: 41.7 kB / 0.8554 GB, free: 1.363 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.2121, allocations: 0.8596 MB / 0.8563 GB, free: 0.4922 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.2125, allocations: 0.643 MB / 0.8569 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.2129, allocations: 439.5 kB / 0.8573 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.213, allocations: 301.1 kB / 0.8576 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009185/0.2139, allocations: 0.7289 MB / 0.8583 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.2151, allocations: 1.392 MB / 0.8597 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.2172, allocations: 2.187 MB / 0.8618 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.2172, allocations: 12 kB / 0.8618 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003233/0.2205, allocations: 2.559 MB / 0.8643 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.2205, allocations: 113.1 kB / 0.8644 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002346/0.2229, allocations: 1.876 MB / 0.8662 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.2233, allocations: 112.8 kB / 0.8664 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.2242, allocations: 0.503 MB / 0.8668 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.228, allocations: 2.42 MB / 0.8692 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.2291, allocations: 95.77 kB / 0.8693 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.2293, allocations: 131.9 kB / 0.8694 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001653/0.231, allocations: 1.13 MB / 0.8705 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001754/0.2327, allocations: 1.381 MB / 0.8719 GB, free: 15.29 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003221/0.2359, allocations: 2.179 MB / 0.874 GB, free: 12.81 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.424e-05/0.2359, allocations: 8 kB / 0.874 GB, free: 12.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.003977/0.2399, allocations: 2.556 MB / 0.8765 GB, free: 10.2 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.24, allocations: 113.1 kB / 0.8766 GB, free: 10.07 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002358/0.2423, allocations: 1.872 MB / 0.8784 GB, free: 8.164 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.2427, allocations: 112.8 kB / 0.8785 GB, free: 8.051 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008798/0.2436, allocations: 0.4991 MB / 0.879 GB, free: 7.551 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003728/0.2473, allocations: 2.428 MB / 0.8814 GB, free: 5 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.2482, allocations: 87.77 kB / 0.8815 GB, free: 4.914 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.2484, allocations: 131.9 kB / 0.8816 GB, free: 4.785 MB / 0.6512 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.0005677/0.2489, allocations: 414.8 kB / 0.882 GB, free: 4.352 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/0.2493, allocations: 242.4 kB / 0.8822 GB, free: 4.113 MB / 0.6512 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 1.9.0-ClaRa/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.003056/0.2524, allocations: 2.103 MB / 0.8843 GB, free: 2.035 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.392160818912089]