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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.006292/0.006292, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07937/0.07937, allocations: 18.24 MB / 42.19 MB, free: 5.184 MB / 33.03 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.001118/0.001118, allocations: 88.81 kB / 53.06 MB, free: 6.508 MB / 44.04 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.001271/0.001271, allocations: 161.4 kB / 64.04 MB, free: 10.2 MB / 58.72 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.9545/0.9545, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.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.5443/0.5443, allocations: 102.5 MB / 418.6 MB, free: 5.195 MB / 362.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.6029 GB, free: 300 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.326e-05, allocations: 4.109 kB / 0.6029 GB, free: 296 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet): time 0.009702/0.009725, allocations: 10.11 MB / 0.6128 GB, free: 6.129 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.02855, allocations: 16.81 MB / 0.6292 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.02982, allocations: 51.62 kB / 0.6293 GB, free: 5.207 MB / 0.5105 GB [/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.002312/0.03213, allocations: 1.123 MB / 0.6304 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0025/0.03463, allocations: 1.246 MB / 0.6316 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.03797, allocations: 1.934 MB / 0.6335 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002942/0.04092, allocations: 2.826 MB / 0.6362 GB, free: 14.06 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/0.0419, allocations: 0.8703 MB / 0.6371 GB, free: 13.17 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.04368, allocations: 1.574 MB / 0.6386 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.0447, allocations: 1.072 MB / 0.6396 GB, free: 10.52 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.0449, allocations: 204 kB / 0.6398 GB, free: 10.32 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.04753, allocations: 1.814 MB / 0.6416 GB, free: 8.504 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.04793, allocations: 0.6617 MB / 0.6423 GB, free: 7.84 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.04853, allocations: 0.709 MB / 0.643 GB, free: 7.129 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004891/0.05342, allocations: 4.467 MB / 0.6473 GB, free: 2.648 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.05342, allocations: 4 kB / 0.6473 GB, free: 2.645 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.05342, allocations: 0 / 0.6473 GB, free: 2.645 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.711e-05/0.05345, allocations: 0 / 0.6473 GB, free: 2.645 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.003498/0.05695, allocations: 2.993 MB / 0.6502 GB, free: 15.58 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.05699, allocations: 12.03 kB / 0.6503 GB, free: 15.57 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.05716, allocations: 199.5 kB / 0.6504 GB, free: 15.36 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005835/0.05774, allocations: 327.1 kB / 0.6508 GB, free: 15.04 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.06105, allocations: 2.552 MB / 0.6532 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.163e-05/0.06111, allocations: 90.47 kB / 0.6533 GB, free: 12.36 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.06123, allocations: 108.4 kB / 0.6534 GB, free: 12.25 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.06425, allocations: 2.472 MB / 0.6559 GB, free: 9.426 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.06428, allocations: 7.938 kB / 0.6559 GB, free: 9.418 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.06436, allocations: 59.98 kB / 0.6559 GB, free: 9.359 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.06439, allocations: 36 kB / 0.656 GB, free: 9.324 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.06698, allocations: 1.675 MB / 0.6576 GB, free: 7.629 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2413/0.3083, allocations: 9.678 MB / 0.667 GB, free: 61.55 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.3127, allocations: 1.395 MB / 0.6684 GB, free: 61.31 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.3138, allocations: 0.588 MB / 0.669 GB, free: 60.98 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.314, allocations: 77.05 kB / 0.669 GB, free: 60.97 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003117/0.3171, allocations: 1.368 MB / 0.6704 GB, free: 60.32 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=192): time 5.28e-06/0.3171, allocations: 3 kB / 0.6704 GB, free: 60.32 MB / 0.5418 GB Notification: Performance of matching and sorting (n=193): time 0.01492/0.3321, allocations: 8.475 MB / 0.6787 GB, free: 55.57 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.3322, allocations: 0.5127 MB / 0.6792 GB, free: 54.96 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.3344, allocations: 1.872 MB / 0.681 GB, free: 54.23 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.3345, allocations: 45.58 kB / 0.681 GB, free: 54.19 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.335, allocations: 0.8534 MB / 0.6819 GB, free: 53.56 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.3354, allocations: 0.633 MB / 0.6825 GB, free: 53.14 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005194/0.3359, allocations: 434.8 kB / 0.6829 GB, free: 52.97 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 3.508e-05/0.336, allocations: 307.2 kB / 0.6832 GB, free: 52.67 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.3371, allocations: 0.7353 MB / 0.6839 GB, free: 52.3 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.3386, allocations: 1.389 MB / 0.6853 GB, free: 51.12 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/0.3413, allocations: 2.179 MB / 0.6874 GB, free: 49.53 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.3413, allocations: 5.125 kB / 0.6874 GB, free: 49.53 MB / 0.5418 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004849/0.3462, allocations: 2.573 MB / 0.6899 GB, free: 48.36 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 7.688e-05/0.3462, allocations: 112.4 kB / 0.69 GB, free: 48.26 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003829/0.3501, allocations: 1.874 MB / 0.6919 GB, free: 47.46 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.3507, allocations: 111.9 kB / 0.692 GB, free: 47.44 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.3521, allocations: 0.4985 MB / 0.6924 GB, free: 47.39 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005449/0.3575, allocations: 2.424 MB / 0.6948 GB, free: 45.81 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3589, allocations: 89.58 kB / 0.6949 GB, free: 45.77 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.3591, allocations: 133.3 kB / 0.695 GB, free: 45.75 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001999/0.3611, allocations: 1.127 MB / 0.6961 GB, free: 45.16 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001533/0.3626, allocations: 1.387 MB / 0.6975 GB, free: 43.96 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00282/0.3654, allocations: 2.184 MB / 0.6996 GB, free: 42.31 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.063e-05/0.3654, allocations: 5.969 kB / 0.6996 GB, free: 42.31 MB / 0.5418 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.004713/0.3701, allocations: 2.567 MB / 0.7021 GB, free: 41.12 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.3702, allocations: 112.8 kB / 0.7022 GB, free: 41.02 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00341/0.3736, allocations: 1.868 MB / 0.7041 GB, free: 40.23 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000488/0.3741, allocations: 116.5 kB / 0.7042 GB, free: 40.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.3755, allocations: 0.496 MB / 0.7047 GB, free: 40.15 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.3807, allocations: 2.417 MB / 0.707 GB, free: 38.56 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.382, allocations: 92.02 kB / 0.7071 GB, free: 38.52 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/0.3822, allocations: 131.2 kB / 0.7072 GB, free: 38.5 MB / 0.5418 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.0008387/0.383, allocations: 417.2 kB / 0.7076 GB, free: 38.14 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.3834, allocations: 242.8 kB / 0.7079 GB, free: 38.01 MB / 0.5418 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 1.9.0-ClaRa/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.003258/0.3867, allocations: 2.091 MB / 0.7099 GB, free: 37.2 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.1771452110260725]