Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008072/0.008072, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.003405/0.003405, allocations: 80.22 kB / 24.59 MB, free: 7.203 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.0008642/0.0008642, allocations: 167.6 kB / 28.4 MB, free: 4.316 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.8658/0.8658, allocations: 177.1 MB / 209.3 MB, free: 2.527 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.7284/0.7284, allocations: 102.5 MB / 368.7 MB, free: 1 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesign",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesign",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5378 GB, free: 39.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.905e-05, allocations: 4.25 kB / 0.5378 GB, free: 39.01 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_OffDesign): time 0.13/0.13, allocations: 65.39 MB / 0.6017 GB, free: 9.684 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.1476, allocations: 16.69 MB / 0.618 GB, free: 8.934 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.1488, allocations: 47.62 kB / 0.618 GB, free: 8.887 MB / 0.5105 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.002419/0.1513, allocations: 1.212 MB / 0.6192 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002254/0.1535, allocations: 1.324 MB / 0.6205 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.1569, allocations: 1.868 MB / 0.6223 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002504/0.1594, allocations: 2.808 MB / 0.6251 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009502/0.1603, allocations: 0.8742 MB / 0.6259 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.1618, allocations: 1.59 MB / 0.6275 GB, free: 15.15 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.1629, allocations: 1.174 MB / 0.6286 GB, free: 13.98 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/0.1631, allocations: 200 kB / 0.6288 GB, free: 13.78 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.1657, allocations: 1.73 MB / 0.6305 GB, free: 12.05 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004508/0.1662, allocations: 0.6772 MB / 0.6312 GB, free: 11.37 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.000625/0.1668, allocations: 0.7011 MB / 0.6319 GB, free: 10.66 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.005177/0.172, allocations: 4.424 MB / 0.6362 GB, free: 6.227 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.172, allocations: 0 / 0.6362 GB, free: 6.227 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.124e-06/0.172, allocations: 4 kB / 0.6362 GB, free: 6.223 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.571e-05/0.172, allocations: 0 / 0.6362 GB, free: 6.223 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: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.003595/0.1756, allocations: 3.007 MB / 0.6391 GB, free: 3.156 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1757, allocations: 8.031 kB / 0.6391 GB, free: 3.148 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001597/0.1758, allocations: 195.3 kB / 0.6393 GB, free: 2.949 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005618/0.1764, allocations: 335 kB / 0.6396 GB, free: 2.621 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.1792, allocations: 2.587 MB / 0.6422 GB, free: 15.99 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.1792, allocations: 90.5 kB / 0.6422 GB, free: 15.9 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1794, allocations: 104.4 kB / 0.6423 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003082/0.1824, allocations: 2.442 MB / 0.6447 GB, free: 13.01 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.1825, allocations: 15.86 kB / 0.6447 GB, free: 12.99 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.1825, allocations: 56 kB / 0.6448 GB, free: 12.94 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.1826, allocations: 32 kB / 0.6448 GB, free: 12.91 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002599/0.1852, allocations: 1.661 MB / 0.6464 GB, free: 11.23 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/0.1911, allocations: 9.661 MB / 0.6559 GB, free: 1.215 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.1936, allocations: 1.312 MB / 0.6572 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/0.1942, allocations: 0.5605 MB / 0.6577 GB, free: 15.25 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.1944, allocations: 72.55 kB / 0.6578 GB, free: 15.18 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.1962, allocations: 1.287 MB / 0.659 GB, free: 13.8 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=178): time 3.136e-06/0.1962, allocations: 0 / 0.659 GB, free: 13.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=179): time 0.009864/0.2061, allocations: 8.738 MB / 0.6676 GB, free: 4.93 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.2062, allocations: 0.5048 MB / 0.6681 GB, free: 4.309 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.2081, allocations: 2.037 MB / 0.6701 GB, free: 2.242 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 7.57e-05/0.2081, allocations: 41.7 kB / 0.6701 GB, free: 2.195 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/0.2088, allocations: 0.9107 MB / 0.671 GB, free: 1.273 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.2091, allocations: 0.6003 MB / 0.6716 GB, free: 0.668 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003936/0.2095, allocations: 427.3 kB / 0.672 GB, free: 252 kB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.2096, allocations: 301.1 kB / 0.6723 GB, free: 15.95 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009198/0.2105, allocations: 0.7191 MB / 0.673 GB, free: 15.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.2117, allocations: 1.39 MB / 0.6743 GB, free: 13.51 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.2139, allocations: 2.165 MB / 0.6764 GB, free: 11.04 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.2139, allocations: 8 kB / 0.6764 GB, free: 11.04 MB / 0.573 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.003403/0.2173, allocations: 2.554 MB / 0.6789 GB, free: 8.449 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/0.2174, allocations: 83.38 kB / 0.679 GB, free: 8.355 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002474/0.2198, allocations: 1.794 MB / 0.6808 GB, free: 6.531 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.2203, allocations: 116.8 kB / 0.6809 GB, free: 6.414 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008788/0.2212, allocations: 0.4991 MB / 0.6814 GB, free: 5.914 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.225, allocations: 2.424 MB / 0.6837 GB, free: 3.379 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000948/0.2259, allocations: 95.72 kB / 0.6838 GB, free: 3.285 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.2261, allocations: 127.9 kB / 0.6839 GB, free: 3.16 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001471/0.2275, allocations: 1.144 MB / 0.6851 GB, free: 2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001462/0.229, allocations: 1.385 MB / 0.6864 GB, free: 312 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003035/0.232, allocations: 2.15 MB / 0.6885 GB, free: 13.86 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.598e-06/0.2321, allocations: 4 kB / 0.6885 GB, free: 13.86 MB / 0.5887 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.004905/0.237, allocations: 2.55 MB / 0.691 GB, free: 11.27 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/0.237, allocations: 83.38 kB / 0.6911 GB, free: 11.18 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003325/0.2403, allocations: 1.79 MB / 0.6928 GB, free: 9.355 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004609/0.2408, allocations: 112.8 kB / 0.6929 GB, free: 9.242 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.2421, allocations: 0.4953 MB / 0.6934 GB, free: 8.746 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.2475, allocations: 2.421 MB / 0.6958 GB, free: 6.215 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.2488, allocations: 91.77 kB / 0.6959 GB, free: 6.125 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002223/0.249, allocations: 128.2 kB / 0.696 GB, free: 6 MB / 0.5887 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.0006112/0.2496, allocations: 385.1 kB / 0.6964 GB, free: 5.605 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.2501, allocations: 250.3 kB / 0.6966 GB, free: 5.359 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 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.003135/0.2532, allocations: 2.038 MB / 0.6986 GB, free: 3.277 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1386361522600055]