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.01018/0.01018, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0008255/0.0008255, allocations: 88.8 kB / 25.15 MB, free: 6.316 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.0008889/0.0008889, allocations: 168.1 kB / 29.06 MB, free: 3.348 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.9248/0.9248, allocations: 177.2 MB / 210 MB, free: 3.602 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.6687/0.6687, allocations: 102.4 MB / 369.5 MB, free: 404 kB / 330.7 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 1.0.0 (/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.553e-06/1.553e-06, allocations: 0 / 469.9 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.527e-05, allocations: 4.281 kB / 469.9 MB, free: 18.97 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_OffDesignInlet): time 0.1044/0.1044, allocations: 60.35 MB / 0.5179 GB, free: 11.6 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01711/0.1215, allocations: 17.66 MB / 0.5351 GB, free: 9.895 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008253/0.1223, allocations: 47.62 kB / 0.5351 GB, free: 9.848 MB / 458.8 MB [/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.002056/0.1244, allocations: 1.136 MB / 0.5363 GB, free: 8.707 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.1261, allocations: 1.258 MB / 0.5375 GB, free: 7.441 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.1294, allocations: 1.93 MB / 0.5394 GB, free: 5.508 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.1318, allocations: 2.831 MB / 0.5421 GB, free: 2.668 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.1328, allocations: 0.91 MB / 0.543 GB, free: 1.738 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1138/0.2467, allocations: 46.75 MB / 0.5887 GB, free: 4.145 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.248, allocations: 0.9697 MB / 0.5896 GB, free: 3.172 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0003413/0.2484, allocations: 152 kB / 0.5898 GB, free: 3.023 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.2512, allocations: 1.742 MB / 0.5915 GB, free: 1.277 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003671/0.2516, allocations: 0.5563 MB / 0.592 GB, free: 0.7188 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0005627/0.2521, allocations: 0.6192 MB / 0.5926 GB, free: 100 kB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.256, allocations: 3.301 MB / 0.5958 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.256, allocations: 0 / 0.5958 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/0.256, allocations: 0 / 0.5958 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.564e-05/0.2561, allocations: 0 / 0.5958 GB, free: 12.79 MB / 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.003227/0.2593, allocations: 2.921 MB / 0.5987 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2593, allocations: 12.03 kB / 0.5987 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.2597, allocations: 351.2 kB / 0.599 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.2612, allocations: 1.466 MB / 0.6005 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.2612, allocations: 86.53 kB / 0.6006 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.2614, allocations: 116.3 kB / 0.6007 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.2643, allocations: 2.347 MB / 0.603 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.2643, allocations: 23.81 kB / 0.603 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.059e-05/0.2644, allocations: 48 kB / 0.603 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.2645, allocations: 36 kB / 0.6031 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.2664, allocations: 1.187 MB / 0.6042 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006793/0.2732, allocations: 13.02 MB / 0.6169 GB, free: 6.145 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.2753, allocations: 1.161 MB / 0.6181 GB, free: 4.891 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.2757, allocations: 426.6 kB / 0.6185 GB, free: 4.43 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.2759, allocations: 80.91 kB / 0.6186 GB, free: 4.352 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/0.2775, allocations: 1.169 MB / 0.6197 GB, free: 3.07 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=192): time 2.825e-06/0.2775, allocations: 0 / 0.6197 GB, free: 3.07 MB / 0.5262 GB Notification: Performance of matching and sorting (n=193): time 0.008469/0.286, allocations: 7.541 MB / 0.6271 GB, free: 11.36 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.2862, allocations: 0.5706 MB / 0.6276 GB, free: 10.66 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.2878, allocations: 1.704 MB / 0.6293 GB, free: 8.91 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.2879, allocations: 45.7 kB / 0.6293 GB, free: 8.859 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005202/0.2884, allocations: 0.9612 MB / 0.6303 GB, free: 7.883 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.2887, allocations: 0.6583 MB / 0.6309 GB, free: 7.219 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004389/0.2892, allocations: 457.4 kB / 0.6313 GB, free: 6.766 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.2893, allocations: 484.7 kB / 0.6318 GB, free: 6.289 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.2898, allocations: 449.5 kB / 0.6322 GB, free: 5.824 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009591/0.2908, allocations: 1.416 MB / 0.6336 GB, free: 3.98 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.2926, allocations: 1.858 MB / 0.6354 GB, free: 1.719 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.2926, allocations: 4 kB / 0.6354 GB, free: 1.715 MB / 0.5418 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.002629/0.2952, allocations: 2.038 MB / 0.6374 GB, free: 15.63 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.175e-05/0.2953, allocations: 114 kB / 0.6375 GB, free: 15.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001712/0.297, allocations: 1.336 MB / 0.6388 GB, free: 14.12 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.2973, allocations: 103.6 kB / 0.6389 GB, free: 14.02 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/0.2981, allocations: 0.4953 MB / 0.6394 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.3014, allocations: 2.808 MB / 0.6422 GB, free: 10.59 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000573/0.302, allocations: 91.78 kB / 0.6422 GB, free: 10.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/0.3022, allocations: 127.9 kB / 0.6424 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007644/0.303, allocations: 0.582 MB / 0.6429 GB, free: 9.766 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009642/0.304, allocations: 1.416 MB / 0.6443 GB, free: 7.922 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001604/0.3056, allocations: 1.854 MB / 0.6461 GB, free: 5.672 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.244e-06/0.3056, allocations: 8 kB / 0.6461 GB, free: 5.664 MB / 0.5574 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.002462/0.308, allocations: 2.03 MB / 0.6481 GB, free: 3.578 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.257e-05/0.3081, allocations: 113.1 kB / 0.6482 GB, free: 3.449 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001798/0.3099, allocations: 1.333 MB / 0.6495 GB, free: 2.074 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.3101, allocations: 95.61 kB / 0.6496 GB, free: 1.977 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008473/0.311, allocations: 0.4953 MB / 0.6501 GB, free: 1.48 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1928/0.5038, allocations: 2.793 MB / 0.6528 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.505, allocations: 92.61 kB / 0.6529 GB, free: 118.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.5052, allocations: 128.8 kB / 0.653 GB, free: 118.6 MB / 0.5574 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.0004924/0.5057, allocations: 0.501 MB / 0.6535 GB, free: 118.2 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.5061, allocations: 274.3 kB / 0.6538 GB, free: 118.2 MB / 0.5574 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.002365/0.5084, allocations: 1.883 MB / 0.6556 GB, free: 118 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2056151228025556]