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.01184/0.01184, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.00404/0.00404, allocations: 83.7 kB / 25.4 MB, free: 7 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.00122/0.00122, allocations: 159.7 kB / 29.33 MB, free: 3.137 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.9877/0.9877, allocations: 177.2 MB / 210.3 MB, free: 3.449 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.6605/0.6605, allocations: 102.5 MB / 369.9 MB, free: 240 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_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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 470.5 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.755e-05, allocations: 2.312 kB / 470.5 MB, free: 18.82 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.117/0.1171, allocations: 60.15 MB / 0.5182 GB, free: 11.5 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.1355, allocations: 17.52 MB / 0.5353 GB, free: 9.93 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.1367, allocations: 51.62 kB / 0.5353 GB, free: 9.879 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.002125/0.1388, allocations: 1.144 MB / 0.5365 GB, free: 8.73 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.1406, allocations: 1.246 MB / 0.5377 GB, free: 7.477 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00357/0.1442, allocations: 1.946 MB / 0.5396 GB, free: 5.527 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.1466, allocations: 2.822 MB / 0.5423 GB, free: 2.695 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009202/0.1475, allocations: 0.9138 MB / 0.5432 GB, free: 1.762 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1218/0.2694, allocations: 46.75 MB / 0.5889 GB, free: 4.184 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.2708, allocations: 0.9697 MB / 0.5898 GB, free: 3.211 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.271, allocations: 156 kB / 0.59 GB, free: 3.059 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.2742, allocations: 1.738 MB / 0.5917 GB, free: 1.316 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.2746, allocations: 0.5563 MB / 0.5922 GB, free: 0.7578 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0006134/0.2752, allocations: 0.6153 MB / 0.5928 GB, free: 144 kB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.00448/0.2797, allocations: 3.305 MB / 0.596 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2797, allocations: 0 / 0.596 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.315e-06/0.2797, allocations: 0 / 0.596 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.646e-05/0.2797, allocations: 4 kB / 0.596 GB, free: 12.82 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.003086/0.2828, allocations: 2.936 MB / 0.5989 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2829, allocations: 12.03 kB / 0.5989 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.2832, allocations: 347.2 kB / 0.5992 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.2847, allocations: 1.466 MB / 0.6007 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/0.2848, allocations: 82.53 kB / 0.6008 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.2849, allocations: 124.3 kB / 0.6009 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.2874, allocations: 2.253 MB / 0.6031 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.2874, allocations: 19.81 kB / 0.6031 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/0.2875, allocations: 52 kB / 0.6031 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.2875, allocations: 39.98 kB / 0.6032 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.2891, allocations: 1.076 MB / 0.6042 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006455/0.2955, allocations: 12.71 MB / 0.6166 GB, free: 6.68 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.2974, allocations: 1.087 MB / 0.6177 GB, free: 5.5 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/0.2977, allocations: 378.6 kB / 0.6181 GB, free: 5.086 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001939/0.2979, allocations: 124.4 kB / 0.6182 GB, free: 4.965 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.2995, allocations: 1.122 MB / 0.6193 GB, free: 3.73 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=192): time 2.916e-06/0.2995, allocations: 4 kB / 0.6193 GB, free: 3.727 MB / 0.5262 GB Notification: Performance of matching and sorting (n=193): time 0.006064/0.3056, allocations: 3.696 MB / 0.6229 GB, free: 15.89 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.3058, allocations: 0.5667 MB / 0.6235 GB, free: 15.2 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.307, allocations: 1.695 MB / 0.6251 GB, free: 13.46 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/0.307, allocations: 45.64 kB / 0.6251 GB, free: 13.41 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006437/0.3077, allocations: 0.9606 MB / 0.6261 GB, free: 12.43 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003428/0.308, allocations: 0.6505 MB / 0.6267 GB, free: 11.77 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/0.3084, allocations: 461.2 kB / 0.6272 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.3085, allocations: 480.8 kB / 0.6276 GB, free: 10.84 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.3089, allocations: 381.5 kB / 0.628 GB, free: 10.45 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.3096, allocations: 1.353 MB / 0.6293 GB, free: 8.664 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.3109, allocations: 1.745 MB / 0.631 GB, free: 6.516 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.3109, allocations: 12 kB / 0.631 GB, free: 6.504 MB / 0.5418 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.002235/0.3132, allocations: 1.925 MB / 0.6329 GB, free: 4.531 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/0.3132, allocations: 117 kB / 0.633 GB, free: 4.398 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001351/0.3146, allocations: 1.246 MB / 0.6342 GB, free: 3.109 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.3149, allocations: 103.7 kB / 0.6343 GB, free: 3.004 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.316, allocations: 0.4953 MB / 0.6348 GB, free: 2.508 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/0.3198, allocations: 2.793 MB / 0.6375 GB, free: 15.61 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007917/0.3206, allocations: 87.77 kB / 0.6376 GB, free: 15.52 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.3207, allocations: 115.9 kB / 0.6377 GB, free: 15.41 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007601/0.3215, allocations: 0.5078 MB / 0.6382 GB, free: 14.87 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001106/0.3226, allocations: 1.353 MB / 0.6396 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001598/0.3242, allocations: 1.748 MB / 0.6413 GB, free: 10.95 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.945e-06/0.3242, allocations: 7.938 kB / 0.6413 GB, free: 10.94 MB / 0.5574 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.002681/0.3269, allocations: 1.921 MB / 0.6431 GB, free: 8.961 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.327, allocations: 113.1 kB / 0.6432 GB, free: 8.832 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001765/0.3287, allocations: 1.25 MB / 0.6445 GB, free: 7.539 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.329, allocations: 99.62 kB / 0.6446 GB, free: 7.438 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.3302, allocations: 0.4992 MB / 0.6451 GB, free: 6.938 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.3339, allocations: 2.777 MB / 0.6478 GB, free: 4.047 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007779/0.3347, allocations: 91.77 kB / 0.6479 GB, free: 3.957 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.3349, allocations: 111.9 kB / 0.648 GB, free: 3.848 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.0004685/0.3353, allocations: 0.4945 MB / 0.6484 GB, free: 3.328 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/0.3357, allocations: 274.4 kB / 0.6487 GB, free: 3.059 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.002351/0.338, allocations: 1.833 MB / 0.6505 GB, free: 1.172 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3710314761847258]