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.006552/0.006552, 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.000725/0.000725, allocations: 91.45 kB / 24.16 MB, free: 396 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.0008552/0.0008552, allocations: 164.4 kB / 27.85 MB, free: 5.496 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.8365/0.8365, allocations: 177.2 MB / 208.6 MB, free: 2.945 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6918/0.6918, allocations: 102.5 MB / 367.9 MB, free: 1.426 MB / 330.8 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.5.2 (/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 1.132e-06/1.132e-06, allocations: 0 / 0.5366 GB, free: 39.89 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.391e-05, allocations: 4.75 kB / 0.5366 GB, free: 39.88 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.09654/0.09655, allocations: 56.77 MB / 0.5921 GB, free: 3.266 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.1109, allocations: 16.81 MB / 0.6085 GB, free: 2.395 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005838/0.1115, allocations: 47.69 kB / 0.6085 GB, free: 2.348 MB / 0.4949 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.001763/0.1133, allocations: 1.138 MB / 0.6097 GB, free: 1.203 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.1146, allocations: 1.246 MB / 0.6109 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/0.1172, allocations: 1.941 MB / 0.6128 GB, free: 14 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.1188, allocations: 2.818 MB / 0.6155 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/0.1195, allocations: 0.8392 MB / 0.6163 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.1205, allocations: 1.563 MB / 0.6179 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008008/0.1213, allocations: 1.083 MB / 0.6189 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.1215, allocations: 204 kB / 0.6191 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.1237, allocations: 1.828 MB / 0.6209 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.124, allocations: 0.6616 MB / 0.6216 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004507/0.1245, allocations: 0.6973 MB / 0.6222 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.1278, allocations: 4.467 MB / 0.6266 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1278, allocations: 0 / 0.6266 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.163e-06/0.1278, allocations: 0 / 0.6266 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.743e-05/0.1278, allocations: 0 / 0.6266 GB, free: 15.79 MB / 0.5262 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.002929/0.1307, allocations: 2.997 MB / 0.6295 GB, free: 12.72 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1308, allocations: 12.03 kB / 0.6295 GB, free: 12.71 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005013/0.1313, allocations: 327.1 kB / 0.6298 GB, free: 12.39 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.1338, allocations: 2.559 MB / 0.6323 GB, free: 9.789 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.1339, allocations: 90.47 kB / 0.6324 GB, free: 9.699 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.134, allocations: 108.4 kB / 0.6325 GB, free: 9.594 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.137, allocations: 2.464 MB / 0.6349 GB, free: 6.773 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.137, allocations: 19.81 kB / 0.635 GB, free: 6.754 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/0.1371, allocations: 55.98 kB / 0.635 GB, free: 6.699 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/0.1371, allocations: 39.98 kB / 0.6351 GB, free: 6.66 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/0.1395, allocations: 1.679 MB / 0.6367 GB, free: 4.957 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005668/0.1452, allocations: 9.507 MB / 0.646 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.1477, allocations: 1.405 MB / 0.6473 GB, free: 9.629 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.1483, allocations: 0.5914 MB / 0.6479 GB, free: 9.004 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001746/0.1485, allocations: 72.91 kB / 0.648 GB, free: 8.93 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.1503, allocations: 1.374 MB / 0.6493 GB, free: 7.469 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=192): time 3.166e-06/0.1503, allocations: 0 / 0.6493 GB, free: 7.469 MB / 0.5418 GB Notification: Performance of matching and sorting (n=193): time 0.009664/0.16, allocations: 8.46 MB / 0.6576 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.1602, allocations: 0.5163 MB / 0.6581 GB, free: 14.21 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.1618, allocations: 1.829 MB / 0.6599 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.1618, allocations: 45.7 kB / 0.6599 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.1623, allocations: 0.8674 MB / 0.6608 GB, free: 11.41 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.000582/0.1629, allocations: 0.6351 MB / 0.6614 GB, free: 10.77 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/0.1633, allocations: 431.5 kB / 0.6618 GB, free: 10.35 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.1633, allocations: 305.1 kB / 0.6621 GB, free: 10.05 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/0.1642, allocations: 0.7328 MB / 0.6628 GB, free: 9.289 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.1653, allocations: 1.389 MB / 0.6642 GB, free: 7.594 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.1674, allocations: 2.187 MB / 0.6663 GB, free: 5.105 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1674, allocations: 7.938 kB / 0.6663 GB, free: 5.098 MB / 0.5574 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003233/0.1706, allocations: 2.566 MB / 0.6688 GB, free: 2.477 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.1707, allocations: 113.1 kB / 0.6689 GB, free: 2.348 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002303/0.173, allocations: 1.873 MB / 0.6708 GB, free: 448 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003898/0.1734, allocations: 116.8 kB / 0.6709 GB, free: 328 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008727/0.1742, allocations: 0.4953 MB / 0.6714 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.178, allocations: 2.394 MB / 0.6737 GB, free: 13.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.1787, allocations: 91.77 kB / 0.6738 GB, free: 13.24 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.1789, allocations: 127.9 kB / 0.6739 GB, free: 13.12 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001673/0.1805, allocations: 1.126 MB / 0.675 GB, free: 11.96 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001091/0.1816, allocations: 1.393 MB / 0.6764 GB, free: 10.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00204/0.1837, allocations: 2.179 MB / 0.6785 GB, free: 7.785 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/0.1837, allocations: 8 kB / 0.6785 GB, free: 7.777 MB / 0.573 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.003069/0.1867, allocations: 2.562 MB / 0.681 GB, free: 5.168 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.495e-05/0.1868, allocations: 114 kB / 0.6811 GB, free: 5.039 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002555/0.1893, allocations: 1.868 MB / 0.6829 GB, free: 3.133 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.1897, allocations: 108.8 kB / 0.683 GB, free: 3.023 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008254/0.1905, allocations: 0.5031 MB / 0.6835 GB, free: 2.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.1939, allocations: 2.39 MB / 0.6859 GB, free: 32 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.1946, allocations: 87.84 kB / 0.6859 GB, free: 15.94 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.1947, allocations: 131.9 kB / 0.6861 GB, free: 15.81 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.000427/0.1951, allocations: 422.5 kB / 0.6865 GB, free: 15.37 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.1954, allocations: 242.5 kB / 0.6867 GB, free: 15.13 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.002597/0.198, allocations: 2.086 MB / 0.6887 GB, free: 13 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0071600833907723] Failed to read output from testmodel.py, exit status != 0: 0.5430211015045643 0.551371122 0.42197483100000005 Calling exit ...