Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump.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.0135/0.0135, allocations: 1.765 MB / 20.61 MB, free: 3.863 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.08133/0.08133, allocations: 25.6 MB / 49.71 MB, free: 2.848 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.0008874/0.0008874, allocations: 118.1 kB / 60.66 MB, free: 2.91 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.001214/0.001214, allocations: 213.6 kB / 71.72 MB, free: 6.465 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.9721/0.9721, allocations: 230.6 MB / 313.3 MB, free: 11.79 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.76/0.76, allocations: 130.7 MB / 0.4963 GB, free: 2.262 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.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",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.004049/0.004049, allocations: 156.8 kB / 0.6901 GB, free: 47.18 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1342, allocations: 89.28 MB / 0.7773 GB, free: 3.012 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump): time 0.009951/0.1442, allocations: 11.82 MB / 0.7888 GB, free: 7.133 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0216/0.1658, allocations: 17.53 MB / 0.8059 GB, free: 5.547 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.1671, allocations: 55.62 kB / 0.806 GB, free: 5.492 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.003084/0.1702, allocations: 1.294 MB / 0.8072 GB, free: 4.191 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.173, allocations: 1.49 MB / 0.8087 GB, free: 2.695 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.1768, allocations: 2.076 MB / 0.8107 GB, free: 0.6211 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.1798, allocations: 3.442 MB / 0.8141 GB, free: 13.17 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.1812, allocations: 1.156 MB / 0.8152 GB, free: 11.98 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.1826, allocations: 1.416 MB / 0.8166 GB, free: 10.56 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.1842, allocations: 1.573 MB / 0.8181 GB, free: 8.984 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.1846, allocations: 248 kB / 0.8184 GB, free: 8.742 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002341/0.1869, allocations: 1.684 MB / 0.82 GB, free: 7.055 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005844/0.1875, allocations: 0.8134 MB / 0.8208 GB, free: 6.238 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.1886, allocations: 1.095 MB / 0.8219 GB, free: 5.137 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.004602/0.1932, allocations: 4.896 MB / 0.8266 GB, free: 228 kB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1932, allocations: 0 / 0.8266 GB, free: 228 kB / 0.5887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1932, allocations: 0 / 0.8266 GB, free: 228 kB / 0.5887 GB Notification: Performance of Transformations before backend: time 5.398e-05/0.1933, allocations: 0 / 0.8266 GB, free: 228 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.005397/0.1987, allocations: 3.93 MB / 0.8305 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1987, allocations: 12.03 kB / 0.8305 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002407/0.199, allocations: 245.8 kB / 0.8307 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007822/0.1997, allocations: 410.5 kB / 0.8311 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/0.2035, allocations: 2.846 MB / 0.8339 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-05/0.2036, allocations: 119.3 kB / 0.834 GB, free: 8.512 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.2038, allocations: 155.9 kB / 0.8342 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004259/0.2081, allocations: 2.858 MB / 0.837 GB, free: 5.133 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.2081, allocations: 11.88 kB / 0.837 GB, free: 5.121 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.2082, allocations: 72 kB / 0.837 GB, free: 5.051 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.2083, allocations: 47.98 kB / 0.8371 GB, free: 5.004 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004014/0.2123, allocations: 1.963 MB / 0.839 GB, free: 3.02 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008079/0.2204, allocations: 10.91 MB / 0.8497 GB, free: 7.742 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.2232, allocations: 1.782 MB / 0.8514 GB, free: 5.855 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008309/0.224, allocations: 0.7328 MB / 0.8521 GB, free: 5.082 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.2242, allocations: 84.83 kB / 0.8522 GB, free: 5 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002173/0.2263, allocations: 1.529 MB / 0.8537 GB, free: 3.383 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=225): time 2.916e-06/0.2263, allocations: 0 / 0.8537 GB, free: 3.383 MB / 0.6199 GB Notification: Performance of matching and sorting (n=229): time 0.01371/0.24, allocations: 13.32 MB / 0.8667 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002115/0.2403, allocations: 0.6463 MB / 0.8673 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.2424, allocations: 2.434 MB / 0.8697 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-05/0.2425, allocations: 57.7 kB / 0.8698 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007477/0.2432, allocations: 1.113 MB / 0.8708 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/0.2436, allocations: 0.7745 MB / 0.8716 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/0.2441, allocations: 0.4925 MB / 0.8721 GB, free: 160 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.2442, allocations: 317 kB / 0.8724 GB, free: 15.84 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.2452, allocations: 0.8455 MB / 0.8732 GB, free: 14.98 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.2468, allocations: 1.621 MB / 0.8748 GB, free: 13.02 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04861/0.2954, allocations: 15.01 MB / 0.8894 GB, free: 13.65 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.2955, allocations: 8 kB / 0.8895 GB, free: 13.64 MB / 0.6668 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004574/0.3, allocations: 3.149 MB / 0.8925 GB, free: 10.45 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 6.196e-05/0.3001, allocations: 81.27 kB / 0.8926 GB, free: 10.36 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002972/0.3031, allocations: 2.297 MB / 0.8948 GB, free: 8.023 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.3037, allocations: 273.8 kB / 0.8951 GB, free: 7.75 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/0.3047, allocations: 0.5615 MB / 0.8957 GB, free: 7.188 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006291/0.3109, allocations: 6.159 MB / 0.9017 GB, free: 0.6797 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.3119, allocations: 127.8 kB / 0.9018 GB, free: 0.5547 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.312, allocations: 143.9 kB / 0.9019 GB, free: 424 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.3311/0.6432, allocations: 1.322 MB / 0.9032 GB, free: 118.6 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001467/0.6446, allocations: 1.609 MB / 0.9048 GB, free: 117.6 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0518/0.6964, allocations: 14.97 MB / 0.9194 GB, free: 115 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.047e-05/0.6965, allocations: 11.22 kB / 0.9194 GB, free: 115 MB / 0.6668 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004748/0.7012, allocations: 3.06 MB / 0.9224 GB, free: 113.8 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 6.07e-05/0.7013, allocations: 84.94 kB / 0.9225 GB, free: 113.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002731/0.704, allocations: 2.217 MB / 0.9247 GB, free: 112.8 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.7045, allocations: 250.9 kB / 0.9249 GB, free: 112.7 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.7055, allocations: 0.5572 MB / 0.9254 GB, free: 112.5 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005234/0.7108, allocations: 5.997 MB / 0.9313 GB, free: 107.4 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009858/0.7117, allocations: 100.6 kB / 0.9314 GB, free: 107.4 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.7119, allocations: 149.5 kB / 0.9315 GB, free: 107.3 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.0005184/0.7124, allocations: 412.4 kB / 0.9319 GB, free: 107 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000329/0.7127, allocations: 311.5 kB / 0.9322 GB, free: 107 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.00246/0.7152, allocations: 2.252 MB / 0.9344 GB, free: 105.4 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.652458369731903]