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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01262/0.01262, allocations: 1.754 MB / 20.61 MB, free: 1.004 MB / 14.72 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.001274/0.001274, allocations: 104.6 kB / 24.18 MB, free: 2.438 MB / 14.72 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.00154/0.00154, allocations: 213.5 kB / 27.9 MB, free: 3.742 MB / 19.63 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 1.474/1.474, allocations: 230.6 MB / 262.1 MB, free: 5.836 MB / 206.1 MB " [Timeout remaining time 178] 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 1.054/1.054, allocations: 130.7 MB / 449.6 MB, free: 6.406 MB / 350.1 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me",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: 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06502/0.06502, allocations: 20.98 MB / 0.6359 GB, free: 4.676 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.2507, allocations: 81.91 MB / 0.7159 GB, free: 2.66 MB / 0.5294 GB 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.Electrical.Check.TestAsynchronousMotorWithPump): time 0.5231/0.7737, allocations: 44.81 MB / 0.7596 GB, free: 21.07 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02403/0.7978, allocations: 17.53 MB / 0.7767 GB, free: 8.953 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00312/0.8009, allocations: 54.84 kB / 0.7768 GB, free: 8.93 MB / 0.5607 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.003987/0.8049, allocations: 1.3 MB / 0.7781 GB, free: 8.363 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004736/0.8096, allocations: 1.493 MB / 0.7795 GB, free: 7.523 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005652/0.8153, allocations: 2.083 MB / 0.7815 GB, free: 6.484 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005248/0.8205, allocations: 3.424 MB / 0.7849 GB, free: 4.836 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.8224, allocations: 1.161 MB / 0.786 GB, free: 4.215 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.8249, allocations: 1.419 MB / 0.7874 GB, free: 3.387 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.8274, allocations: 1.564 MB / 0.7889 GB, free: 2.43 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0005415/0.8279, allocations: 250.1 kB / 0.7892 GB, free: 2.43 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003884/0.8318, allocations: 1.685 MB / 0.7908 GB, free: 1.621 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0007397/0.8326, allocations: 0.8107 MB / 0.7916 GB, free: 1.012 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.8339, allocations: 1.085 MB / 0.7927 GB, free: 276 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.00928/0.8432, allocations: 4.906 MB / 0.7975 GB, free: 13 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8432, allocations: 0 / 0.7975 GB, free: 13 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8432, allocations: 0 / 0.7975 GB, free: 13 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001136/0.8433, allocations: 1.375 kB / 0.7975 GB, free: 13 MB / 0.5763 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.008264/0.8515, allocations: 3.937 MB / 0.8013 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.8516, allocations: 8.969 kB / 0.8013 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003029/0.8519, allocations: 244.1 kB / 0.8016 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.8531, allocations: 408.2 kB / 0.8019 GB, free: 9.75 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006156/0.8593, allocations: 2.853 MB / 0.8047 GB, free: 7.285 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.8594, allocations: 122 kB / 0.8048 GB, free: 7.168 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/0.8597, allocations: 151.9 kB / 0.805 GB, free: 7.02 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006071/0.8657, allocations: 2.858 MB / 0.8078 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.8658, allocations: 11.88 kB / 0.8078 GB, free: 3.781 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.8659, allocations: 72 kB / 0.8079 GB, free: 3.711 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.866, allocations: 46.69 kB / 0.8079 GB, free: 3.668 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005198/0.8712, allocations: 1.958 MB / 0.8098 GB, free: 1.691 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.8862, allocations: 10.93 MB / 0.8205 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00499/0.8911, allocations: 1.772 MB / 0.8222 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.8927, allocations: 0.729 MB / 0.8229 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000308/0.893, allocations: 80.89 kB / 0.823 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003989/0.897, allocations: 1.534 MB / 0.8245 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 7.895e-06/0.897, allocations: 0 / 0.8245 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02717/0.9242, allocations: 13.33 MB / 0.8375 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004076/0.9246, allocations: 0.6501 MB / 0.8382 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003789/0.9284, allocations: 2.427 MB / 0.8405 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.9287, allocations: 57.69 kB / 0.8406 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.9298, allocations: 1.119 MB / 0.8417 GB, free: 160 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009077/0.9307, allocations: 0.7747 MB / 0.8424 GB, free: 15.37 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007813/0.9314, allocations: 0.4926 MB / 0.8429 GB, free: 14.87 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.9316, allocations: 311.5 kB / 0.8432 GB, free: 14.57 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.9334, allocations: 0.8417 MB / 0.844 GB, free: 13.71 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.9358, allocations: 1.621 MB / 0.8456 GB, free: 11.75 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1096/1.045, allocations: 15.01 MB / 0.8603 GB, free: 13.22 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.641e-05/1.045, allocations: 11.47 kB / 0.8603 GB, free: 13.21 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008341/1.054, allocations: 3.143 MB / 0.8634 GB, free: 10.03 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.054, allocations: 80.17 kB / 0.8634 GB, free: 9.941 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005597/1.059, allocations: 2.301 MB / 0.8657 GB, free: 7.613 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/1.061, allocations: 277.5 kB / 0.8659 GB, free: 7.336 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/1.063, allocations: 0.5537 MB / 0.8665 GB, free: 6.781 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01251/1.075, allocations: 6.162 MB / 0.8725 GB, free: 292 kB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.077, allocations: 119.6 kB / 0.8726 GB, free: 172 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005663/1.078, allocations: 151.9 kB / 0.8728 GB, free: 20 kB / 0.6388 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.00382/1.082, allocations: 1.318 MB / 0.874 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002914/1.085, allocations: 1.612 MB / 0.8756 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1089/1.194, allocations: 14.98 MB / 0.8902 GB, free: 13.44 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.581e-05/1.194, allocations: 4 kB / 0.8903 GB, free: 13.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007504/1.201, allocations: 3.058 MB / 0.8932 GB, free: 10.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/1.201, allocations: 79.33 kB / 0.8933 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005088/1.206, allocations: 2.219 MB / 0.8955 GB, free: 8.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/1.207, allocations: 260.9 kB / 0.8957 GB, free: 7.742 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/1.209, allocations: 0.5498 MB / 0.8963 GB, free: 7.191 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/1.221, allocations: 5.979 MB / 0.9021 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/1.223, allocations: 115.7 kB / 0.9022 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/1.223, allocations: 139.9 kB / 0.9023 GB, free: 0.6367 MB / 0.67 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.0009372/1.224, allocations: 420.2 kB / 0.9027 GB, free: 216 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009357/1.225, allocations: 302 kB / 0.903 GB, free: 15.91 MB / 0.6857 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 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) = ($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.004883/1.23, allocations: 2.26 MB / 0.9052 GB, free: 13.68 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.087925331667066] Failed to read output from testmodel.py, exit status != 0: 1.4160665478557348 1.431885238 0.585442825 Calling exit ...