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.006684/0.006684, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0006353/0.0006353, allocations: 91.45 kB / 24.16 MB, free: 392 kB / 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.0007294/0.0007294, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8798/0.8798, allocations: 177.2 MB / 208.6 MB, free: 2.953 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.7491/0.7491, allocations: 102.5 MB / 367.9 MB, free: 1.496 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: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",fmuType="me",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",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.5362 GB, free: 40.09 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.55e-05, allocations: 8.281 kB / 0.5362 GB, free: 40.08 MB / 490.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.1273/0.1273, allocations: 56.76 MB / 0.5916 GB, free: 3.801 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01987/0.1472, allocations: 16.82 MB / 0.608 GB, free: 2.926 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/0.1489, allocations: 43.69 kB / 0.6081 GB, free: 2.883 MB / 0.4949 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.003051/0.152, allocations: 1.138 MB / 0.6092 GB, free: 1.738 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.155, allocations: 1.234 MB / 0.6104 GB, free: 0.4961 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.159, allocations: 1.943 MB / 0.6123 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.1624, allocations: 2.823 MB / 0.615 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.1638, allocations: 0.843 MB / 0.6159 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002213/0.166, allocations: 1.566 MB / 0.6174 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.1674, allocations: 1.093 MB / 0.6185 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004454/0.1679, allocations: 204 kB / 0.6187 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.1711, allocations: 1.808 MB / 0.6204 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.1716, allocations: 0.6577 MB / 0.6211 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000796/0.1724, allocations: 0.7012 MB / 0.6218 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005807/0.1782, allocations: 4.483 MB / 0.6261 GB, free: 320 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1782, allocations: 3.938 kB / 0.6261 GB, free: 316 kB / 0.5105 GB Notification: Performance of FrontEnd: time 3.055e-06/0.1782, allocations: 0 / 0.6261 GB, free: 316 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.253e-05/0.1783, allocations: 0 / 0.6261 GB, free: 316 kB / 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.004055/0.1823, allocations: 2.978 MB / 0.629 GB, free: 13.26 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.1824, allocations: 16.02 kB / 0.6291 GB, free: 13.24 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.1825, allocations: 199.5 kB / 0.6292 GB, free: 13.04 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005824/0.1831, allocations: 339 kB / 0.6296 GB, free: 12.7 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.1863, allocations: 2.551 MB / 0.6321 GB, free: 10.11 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.1864, allocations: 90.52 kB / 0.6321 GB, free: 10.02 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.1865, allocations: 108.4 kB / 0.6323 GB, free: 9.914 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.1898, allocations: 2.464 MB / 0.6347 GB, free: 7.094 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.1898, allocations: 15.88 kB / 0.6347 GB, free: 7.078 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.1899, allocations: 52 kB / 0.6347 GB, free: 7.027 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.1899, allocations: 36 kB / 0.6348 GB, free: 6.992 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.1925, allocations: 1.679 MB / 0.6364 GB, free: 5.289 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00706/0.1995, allocations: 9.678 MB / 0.6458 GB, free: 11.26 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/0.2022, allocations: 1.398 MB / 0.6472 GB, free: 9.785 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006727/0.2029, allocations: 0.5876 MB / 0.6478 GB, free: 9.164 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.2031, allocations: 76.91 kB / 0.6479 GB, free: 9.086 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/0.205, allocations: 1.377 MB / 0.6492 GB, free: 7.621 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=192): time 4.719e-06/0.205, allocations: 0 / 0.6492 GB, free: 7.621 MB / 0.5418 GB Notification: Performance of matching and sorting (n=193): time 0.01074/0.2157, allocations: 8.468 MB / 0.6575 GB, free: 14.99 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002076/0.2159, allocations: 0.5126 MB / 0.658 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/0.2181, allocations: 1.868 MB / 0.6598 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.2182, allocations: 53.69 kB / 0.6599 GB, free: 12.4 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007991/0.219, allocations: 0.8518 MB / 0.6607 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.2195, allocations: 0.6273 MB / 0.6613 GB, free: 10.9 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004639/0.22, allocations: 443.4 kB / 0.6617 GB, free: 10.46 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.22, allocations: 301.1 kB / 0.662 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000943/0.221, allocations: 0.733 MB / 0.6627 GB, free: 9.41 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.2222, allocations: 1.389 MB / 0.6641 GB, free: 7.715 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.2244, allocations: 2.187 MB / 0.6662 GB, free: 5.227 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.2245, allocations: 4 kB / 0.6662 GB, free: 5.223 MB / 0.5574 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003704/0.2282, allocations: 2.567 MB / 0.6687 GB, free: 2.602 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.992e-05/0.2283, allocations: 117.1 kB / 0.6688 GB, free: 2.469 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00269/0.2309, allocations: 1.868 MB / 0.6707 GB, free: 0.5625 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004617/0.2314, allocations: 120.9 kB / 0.6708 GB, free: 452 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/0.2323, allocations: 0.4953 MB / 0.6713 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.2363, allocations: 2.412 MB / 0.6736 GB, free: 13.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.2373, allocations: 95.86 kB / 0.6737 GB, free: 13.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.2375, allocations: 131.9 kB / 0.6738 GB, free: 13.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001593/0.2391, allocations: 1.134 MB / 0.6749 GB, free: 12.04 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001166/0.2403, allocations: 1.385 MB / 0.6763 GB, free: 10.35 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002284/0.2425, allocations: 2.175 MB / 0.6784 GB, free: 7.871 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.617e-06/0.2425, allocations: 8 kB / 0.6784 GB, free: 7.863 MB / 0.573 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.003306/0.2459, allocations: 2.563 MB / 0.6809 GB, free: 5.254 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/0.2459, allocations: 113.1 kB / 0.681 GB, free: 5.125 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002275/0.2482, allocations: 1.873 MB / 0.6829 GB, free: 3.215 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/0.2485, allocations: 112.8 kB / 0.683 GB, free: 3.102 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/0.2495, allocations: 0.4952 MB / 0.6835 GB, free: 2.605 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.2531, allocations: 2.417 MB / 0.6858 GB, free: 80 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/0.254, allocations: 91.75 kB / 0.6859 GB, free: 15.98 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.2542, allocations: 131.9 kB / 0.686 GB, free: 15.86 MB / 0.5887 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.000517/0.2547, allocations: 418.7 kB / 0.6864 GB, free: 15.42 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.255, allocations: 238.4 kB / 0.6867 GB, free: 15.19 MB / 0.5887 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.002523/0.2575, allocations: 2.083 MB / 0.6887 GB, free: 13.06 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4049926409497857] Failed to read output from testmodel.py, exit status != 0: 0.702034910209477 0.7115708629999999 0.531326188 Calling exit ...