Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01219/0.01219, allocations: 1.794 MB / 21.35 MB, free: 3.195 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.0009778/0.0009778, allocations: 86.78 kB / 25.15 MB, free: 7.465 MB / 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.001187/0.001187, allocations: 167.8 kB / 29.06 MB, free: 3.664 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.9923/0.9923, allocations: 177.2 MB / 210 MB, free: 3.613 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.6879/0.6879, allocations: 102.5 MB / 369.5 MB, free: 408 kB / 330.7 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 1.0.0 (/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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 470 MB, free: 18.99 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.495e-05, allocations: 2.312 kB / 470 MB, free: 18.99 MB / 410.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_OffDesign): time 0.1361/0.1362, allocations: 60.27 MB / 0.5178 GB, free: 11.68 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.1554, allocations: 17.52 MB / 0.5349 GB, free: 10.11 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.1569, allocations: 51.62 kB / 0.535 GB, free: 10.06 MB / 458.8 MB [/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.003115/0.16, allocations: 1.218 MB / 0.5362 GB, free: 8.836 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.1628, allocations: 1.328 MB / 0.5375 GB, free: 7.5 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.1664, allocations: 1.868 MB / 0.5393 GB, free: 5.625 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.1695, allocations: 2.827 MB / 0.542 GB, free: 2.789 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009739/0.1704, allocations: 0.9099 MB / 0.5429 GB, free: 1.859 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.1719, allocations: 1.567 MB / 0.5445 GB, free: 296 kB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.1731, allocations: 1.193 MB / 0.5456 GB, free: 15.09 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.1734, allocations: 200 kB / 0.5458 GB, free: 14.9 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.1761, allocations: 1.734 MB / 0.5475 GB, free: 13.16 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.1766, allocations: 0.6812 MB / 0.5482 GB, free: 12.48 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.1772, allocations: 0.7011 MB / 0.5489 GB, free: 11.78 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004495/0.1817, allocations: 3.402 MB / 0.5522 GB, free: 8.363 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1817, allocations: 0 / 0.5522 GB, free: 8.363 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1817, allocations: 0 / 0.5522 GB, free: 8.363 MB / 474.8 MB Notification: Performance of Transformations before backend: time 2.105e-05/0.1817, allocations: 0 / 0.5522 GB, free: 8.363 MB / 474.8 MB 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.003306/0.185, allocations: 3.185 MB / 0.5553 GB, free: 5.113 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.185, allocations: 8.031 kB / 0.5553 GB, free: 5.105 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.1857, allocations: 423 kB / 0.5557 GB, free: 4.691 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.1882, allocations: 2.339 MB / 0.558 GB, free: 2.312 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.1883, allocations: 86.5 kB / 0.5581 GB, free: 2.227 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.1884, allocations: 108.4 kB / 0.5582 GB, free: 2.121 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.1913, allocations: 2.281 MB / 0.5604 GB, free: 15.39 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.1913, allocations: 19.81 kB / 0.5604 GB, free: 15.37 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.1914, allocations: 52 kB / 0.5605 GB, free: 15.32 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.1914, allocations: 32 kB / 0.5605 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.1933, allocations: 1.146 MB / 0.5616 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/0.2004, allocations: 13.01 MB / 0.5743 GB, free: 0.6797 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.2025, allocations: 1.071 MB / 0.5754 GB, free: 15.52 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004262/0.203, allocations: 364.6 kB / 0.5757 GB, free: 15.12 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.2031, allocations: 72.56 kB / 0.5758 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001617/0.2048, allocations: 1.066 MB / 0.5768 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=178): time 3.797e-06/0.2048, allocations: 0 / 0.5768 GB, free: 13.89 MB / 0.4949 GB Notification: Performance of matching and sorting (n=179): time 0.008579/0.2133, allocations: 7.65 MB / 0.5843 GB, free: 6.098 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.2135, allocations: 0.5048 MB / 0.5848 GB, free: 5.477 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.2153, allocations: 1.882 MB / 0.5866 GB, free: 3.555 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 7.246e-05/0.2154, allocations: 37.7 kB / 0.5867 GB, free: 3.512 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005752/0.2159, allocations: 1.024 MB / 0.5877 GB, free: 2.473 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.2163, allocations: 0.608 MB / 0.5883 GB, free: 1.859 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/0.2167, allocations: 453.1 kB / 0.5887 GB, free: 1.41 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.2168, allocations: 480.7 kB / 0.5892 GB, free: 0.9375 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.2174, allocations: 399.5 kB / 0.5895 GB, free: 0.5273 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009743/0.2183, allocations: 1.328 MB / 0.5908 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.22, allocations: 1.787 MB / 0.5926 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.22, allocations: 4 kB / 0.5926 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.002827/0.2228, allocations: 1.927 MB / 0.5945 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.2229, allocations: 83.38 kB / 0.5945 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001707/0.2246, allocations: 1.172 MB / 0.5957 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003519/0.2249, allocations: 103.6 kB / 0.5958 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008834/0.2258, allocations: 0.4952 MB / 0.5963 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.2293, allocations: 2.796 MB / 0.599 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008502/0.2301, allocations: 99.59 kB / 0.5991 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.2303, allocations: 123.9 kB / 0.5992 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000928/0.2312, allocations: 0.5373 MB / 0.5997 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/0.2323, allocations: 1.328 MB / 0.601 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001642/0.2339, allocations: 1.783 MB / 0.6028 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.027e-06/0.2339, allocations: 8 kB / 0.6028 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.002774/0.2367, allocations: 1.939 MB / 0.6047 GB, free: 15.13 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/0.2368, allocations: 83.33 kB / 0.6048 GB, free: 15.04 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001737/0.2385, allocations: 1.172 MB / 0.6059 GB, free: 13.84 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.2388, allocations: 107.6 kB / 0.606 GB, free: 13.73 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/0.2398, allocations: 0.4913 MB / 0.6065 GB, free: 13.23 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/0.2431, allocations: 2.784 MB / 0.6092 GB, free: 10.33 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/0.244, allocations: 87.77 kB / 0.6093 GB, free: 10.24 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.2442, allocations: 127.9 kB / 0.6094 GB, free: 10.12 MB / 0.5262 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.0005171/0.2447, allocations: 474.7 kB / 0.6099 GB, free: 9.633 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/0.2451, allocations: 282.3 kB / 0.6101 GB, free: 9.355 MB / 0.5262 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.002194/0.2473, allocations: 1.816 MB / 0.6119 GB, free: 7.496 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.417402110993862]