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.01091/0.01091, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001403/0.001403, allocations: 106.3 kB / 24.19 MB, free: 2.652 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.001789/0.001789, allocations: 210.4 kB / 27.92 MB, free: 4 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.465/1.465, allocations: 230.6 MB / 262.1 MB, free: 6.219 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.076/1.076, allocations: 130.7 MB / 449.7 MB, free: 6.547 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.03161/0.03161, allocations: 20.79 MB / 0.6358 GB, free: 5.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1933, allocations: 81.91 MB / 0.7158 GB, free: 3.227 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.4812/0.6745, allocations: 46.04 MB / 0.7607 GB, free: 20.33 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.6991, allocations: 18.42 MB / 0.7787 GB, free: 7.25 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/0.7024, allocations: 56.25 kB / 0.7788 GB, free: 7.227 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.004153/0.7066, allocations: 1.359 MB / 0.7801 GB, free: 6.613 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.7118, allocations: 1.488 MB / 0.7815 GB, free: 5.77 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006009/0.7178, allocations: 2.082 MB / 0.7836 GB, free: 4.738 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006311/0.7241, allocations: 3.438 MB / 0.7869 GB, free: 3.078 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.7264, allocations: 1.101 MB / 0.788 GB, free: 2.551 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.7294, allocations: 1.418 MB / 0.7894 GB, free: 1.73 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.7327, allocations: 1.683 MB / 0.791 GB, free: 0.6602 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0009913/0.7337, allocations: 249.9 kB / 0.7913 GB, free: 0.6602 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005909/0.7396, allocations: 2.323 MB / 0.7935 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.7412, allocations: 0.8191 MB / 0.7943 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.744, allocations: 1.4 MB / 0.7957 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.011/0.755, allocations: 5.018 MB / 0.8006 GB, free: 10.31 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.495e-06/0.755, allocations: 4 kB / 0.8006 GB, free: 10.31 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.225e-06/0.755, allocations: 3.781 kB / 0.8006 GB, free: 10.31 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001339/0.7552, allocations: 0 / 0.8006 GB, free: 10.31 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.01008/0.7653, allocations: 3.937 MB / 0.8045 GB, free: 7.473 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.7653, allocations: 8.906 kB / 0.8045 GB, free: 7.473 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003435/0.7657, allocations: 247.5 kB / 0.8047 GB, free: 7.277 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.767, allocations: 405.2 kB / 0.8051 GB, free: 7.059 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00641/0.7734, allocations: 2.853 MB / 0.8079 GB, free: 4.68 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.7736, allocations: 111.3 kB / 0.808 GB, free: 4.57 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.7739, allocations: 159.9 kB / 0.8081 GB, free: 4.414 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006093/0.78, allocations: 2.576 MB / 0.8107 GB, free: 1.566 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.78, allocations: 15.88 kB / 0.8107 GB, free: 1.551 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.7802, allocations: 68 kB / 0.8107 GB, free: 1.484 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.7802, allocations: 44 kB / 0.8108 GB, free: 1.441 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005532/0.7858, allocations: 1.914 MB / 0.8126 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.8007, allocations: 11.54 MB / 0.8239 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005071/0.8058, allocations: 1.715 MB / 0.8256 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.8073, allocations: 0.6697 MB / 0.8262 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.8076, allocations: 91.42 kB / 0.8263 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004043/0.8117, allocations: 1.472 MB / 0.8278 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.509e-06/0.8117, allocations: 2.656 kB / 0.8278 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02662/0.8383, allocations: 13.17 MB / 0.8406 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004503/0.8388, allocations: 0.6384 MB / 0.8413 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004237/0.843, allocations: 2.406 MB / 0.8436 GB, free: 14.99 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004548/0.8434, allocations: 53.7 kB / 0.8437 GB, free: 14.93 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/0.8446, allocations: 1.113 MB / 0.8447 GB, free: 13.81 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.8456, allocations: 0.7745 MB / 0.8455 GB, free: 13.03 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008443/0.8465, allocations: 0.4964 MB / 0.846 GB, free: 12.52 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8466, allocations: 307.7 kB / 0.8463 GB, free: 12.22 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.8485, allocations: 0.7868 MB / 0.847 GB, free: 11.44 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.851, allocations: 1.489 MB / 0.8485 GB, free: 9.656 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.115/0.966, allocations: 14.99 MB / 0.8631 GB, free: 11.03 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/0.966, allocations: 8 kB / 0.8631 GB, free: 11.02 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008201/0.9742, allocations: 3.07 MB / 0.8661 GB, free: 7.926 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.9744, allocations: 79.39 kB / 0.8662 GB, free: 7.836 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005643/0.98, allocations: 2.23 MB / 0.8684 GB, free: 5.594 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.9812, allocations: 271.3 kB / 0.8687 GB, free: 5.324 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.9832, allocations: 0.5615 MB / 0.8692 GB, free: 4.762 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01339/0.9966, allocations: 6.202 MB / 0.8753 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.9992, allocations: 123.6 kB / 0.8754 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/0.9996, allocations: 143.9 kB / 0.8755 GB, free: 13.96 MB / 0.6544 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.003396/1.003, allocations: 1.263 MB / 0.8767 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002413/1.005, allocations: 1.468 MB / 0.8782 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1105/1.116, allocations: 14.95 MB / 0.8928 GB, free: 11.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.097e-05/1.116, allocations: 12 kB / 0.8928 GB, free: 11.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007483/1.123, allocations: 2.984 MB / 0.8957 GB, free: 8.617 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.124, allocations: 91.38 kB / 0.8958 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005127/1.129, allocations: 2.135 MB / 0.8979 GB, free: 6.367 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/1.13, allocations: 255.5 kB / 0.8981 GB, free: 6.109 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/1.132, allocations: 0.5537 MB / 0.8987 GB, free: 5.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.144, allocations: 6.024 MB / 0.9045 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/1.146, allocations: 107.8 kB / 0.9046 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/1.146, allocations: 147.9 kB / 0.9048 GB, free: 14.96 MB / 0.6857 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.0008941/1.147, allocations: 411.5 kB / 0.9052 GB, free: 14.54 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007935/1.148, allocations: 310 kB / 0.9055 GB, free: 14.24 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.004748/1.153, allocations: 2.245 MB / 0.9077 GB, free: 12.02 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.023003507172689] Failed to read output from testmodel.py, exit status != 0: 1.3404433960095048 1.357276647 0.598760722 Calling exit ...