Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.01457/0.01457, allocations: 1.761 MB / 20.61 MB, free: 3.859 MB / 13.93 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.09564/0.09564, allocations: 25.6 MB / 49.71 MB, free: 2.938 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.001007/0.001007, allocations: 106.1 kB / 60.65 MB, free: 3.027 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.00162/0.00162, allocations: 223.7 kB / 71.72 MB, free: 6.473 MB / 44.04 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.9746/0.9746, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.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.8379/0.8379, allocations: 130.7 MB / 0.4963 GB, free: 2.203 MB / 362.8 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_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: 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: ClaRa 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: Performance of FrontEnd - loaded program: time 0.004185/0.004185, allocations: 151 kB / 0.6901 GB, free: 46.66 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1394, allocations: 89.27 MB / 0.7772 GB, free: 2.883 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.009699/0.1491, allocations: 11.8 MB / 0.7887 GB, free: 7.02 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.167, allocations: 17.52 MB / 0.8059 GB, free: 5.441 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1682, allocations: 59.56 kB / 0.8059 GB, free: 5.383 MB / 0.573 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.002265/0.1705, allocations: 1.302 MB / 0.8072 GB, free: 4.074 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.1724, allocations: 1.492 MB / 0.8086 GB, free: 2.574 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003035/0.1755, allocations: 2.081 MB / 0.8107 GB, free: 0.4961 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.1783, allocations: 3.429 MB / 0.814 GB, free: 13.06 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.1797, allocations: 1.16 MB / 0.8152 GB, free: 11.87 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.1815, allocations: 1.416 MB / 0.8165 GB, free: 10.45 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.1827, allocations: 1.575 MB / 0.8181 GB, free: 8.867 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002451/0.1829, allocations: 252 kB / 0.8183 GB, free: 8.621 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.1853, allocations: 1.676 MB / 0.82 GB, free: 6.941 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004225/0.1857, allocations: 0.8134 MB / 0.8208 GB, free: 6.125 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006326/0.1863, allocations: 1.08 MB / 0.8218 GB, free: 5.039 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.003466/0.1898, allocations: 4.915 MB / 0.8266 GB, free: 108 kB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1898, allocations: 0 / 0.8266 GB, free: 108 kB / 0.5887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1898, allocations: 0 / 0.8266 GB, free: 108 kB / 0.5887 GB Notification: Performance of Transformations before backend: time 2.417e-05/0.1898, allocations: 0 / 0.8266 GB, free: 108 kB / 0.5887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.003736/0.1935, allocations: 3.938 MB / 0.8305 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1936, allocations: 8.031 kB / 0.8305 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.1938, allocations: 245.8 kB / 0.8307 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006097/0.1944, allocations: 410.6 kB / 0.8311 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/0.1975, allocations: 2.849 MB / 0.8339 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.561e-05/0.1976, allocations: 119.3 kB / 0.834 GB, free: 8.391 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.1977, allocations: 155.9 kB / 0.8341 GB, free: 8.238 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.201, allocations: 2.858 MB / 0.8369 GB, free: 5.012 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.201, allocations: 19.75 kB / 0.8369 GB, free: 4.992 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.621e-05/0.2011, allocations: 68 kB / 0.837 GB, free: 4.926 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.2012, allocations: 44 kB / 0.837 GB, free: 4.883 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00304/0.2042, allocations: 1.975 MB / 0.839 GB, free: 2.887 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007128/0.2113, allocations: 10.92 MB / 0.8496 GB, free: 7.605 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/0.214, allocations: 1.778 MB / 0.8514 GB, free: 5.723 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.2149, allocations: 0.7242 MB / 0.8521 GB, free: 4.957 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.215, allocations: 84.83 kB / 0.8522 GB, free: 4.875 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002111/0.2172, allocations: 1.537 MB / 0.8537 GB, free: 3.25 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=225): time 2.775e-06/0.2172, allocations: 0 / 0.8537 GB, free: 3.25 MB / 0.6199 GB Notification: Performance of matching and sorting (n=229): time 0.01342/0.2306, allocations: 13.32 MB / 0.8667 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/0.2308, allocations: 0.6389 MB / 0.8673 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002261/0.233, allocations: 2.438 MB / 0.8697 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.218e-05/0.2331, allocations: 53.7 kB / 0.8697 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005971/0.2337, allocations: 1.113 MB / 0.8708 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.2341, allocations: 0.7784 MB / 0.8716 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004904/0.2346, allocations: 0.4925 MB / 0.8721 GB, free: 28 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.2347, allocations: 305.1 kB / 0.8723 GB, free: 15.73 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.2357, allocations: 0.8573 MB / 0.8732 GB, free: 14.86 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/0.2371, allocations: 1.613 MB / 0.8748 GB, free: 12.9 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04914/0.2863, allocations: 15.01 MB / 0.8894 GB, free: 13.52 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.2863, allocations: 4 kB / 0.8894 GB, free: 13.51 MB / 0.6668 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00433/0.2906, allocations: 3.156 MB / 0.8925 GB, free: 10.31 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/0.2907, allocations: 83.45 kB / 0.8926 GB, free: 10.22 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002956/0.2936, allocations: 2.297 MB / 0.8948 GB, free: 7.887 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.2942, allocations: 266.4 kB / 0.8951 GB, free: 7.617 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.2955, allocations: 0.5537 MB / 0.8956 GB, free: 7.062 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/0.3017, allocations: 6.159 MB / 0.9016 GB, free: 0.5547 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3028, allocations: 123.8 kB / 0.9018 GB, free: 444 kB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.303, allocations: 147.9 kB / 0.9019 GB, free: 296 kB / 0.6668 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2904/0.5933, allocations: 1.316 MB / 0.9032 GB, free: 119 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00166/0.595, allocations: 1.612 MB / 0.9048 GB, free: 118.1 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05161/0.6466, allocations: 14.97 MB / 0.9194 GB, free: 115.5 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.055e-05/0.6466, allocations: 9.984 kB / 0.9194 GB, free: 115.5 MB / 0.6668 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004434/0.6511, allocations: 3.064 MB / 0.9224 GB, free: 114.3 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.6511, allocations: 84.08 kB / 0.9225 GB, free: 114.3 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002737/0.6539, allocations: 2.217 MB / 0.9246 GB, free: 113.4 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/0.6544, allocations: 259.5 kB / 0.9249 GB, free: 113.3 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/0.6554, allocations: 0.5511 MB / 0.9254 GB, free: 113.1 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.6605, allocations: 5.986 MB / 0.9313 GB, free: 108 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.6616, allocations: 104.6 kB / 0.9314 GB, free: 108 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.6618, allocations: 151.3 kB / 0.9315 GB, free: 107.9 MB / 0.6668 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.PID.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.switch_OnOff.u2,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,ramp.nextEventScaled,ramp.nextEvent,$PRE.ramp.nextEvent,ramp.last,ramp.b,ramp.a,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004883/0.6623, allocations: 410.5 kB / 0.9319 GB, free: 107.6 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.6626, allocations: 305.4 kB / 0.9322 GB, free: 107.6 MB / 0.6668 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 254 equation(s) and 246 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: (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) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) has size 9 but 7 variables ($whenCondition1, ramp.a, ramp.b, ramp.last, ramp.nextEvent, ramp.nextEventScaled, ramp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00247/0.665, allocations: 2.263 MB / 0.9344 GB, free: 106.2 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7610760163515806]