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.01386/0.01386, allocations: 1.77 MB / 18.12 MB, free: 4.941 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.001492/0.001492, allocations: 107.7 kB / 21.36 MB, free: 1.703 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.002163/0.002163, allocations: 215.6 kB / 24.75 MB, free: 3.723 MB / 14.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 1.493/1.493, allocations: 230.6 MB / 258.5 MB, free: 13.09 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.1/1.1, allocations: 130.6 MB / 445.6 MB, free: 14.64 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4012/0.4012, allocations: 46.15 MB / 0.6545 GB, free: 30.43 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.5795, allocations: 89.06 MB / 0.7415 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump): time 0.01752/0.5971, allocations: 13.07 MB / 0.7542 GB, free: 5.527 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02942/0.6265, allocations: 18.11 MB / 0.7719 GB, free: 3.355 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.6286, allocations: 55.62 kB / 0.772 GB, free: 3.301 MB / 0.5763 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.00392/0.6325, allocations: 1.337 MB / 0.7733 GB, free: 1.957 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.6369, allocations: 1.457 MB / 0.7747 GB, free: 0.4922 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.6423, allocations: 2.017 MB / 0.7767 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005341/0.6477, allocations: 3.422 MB / 0.78 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.65, allocations: 1.117 MB / 0.7811 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.6526, allocations: 1.42 MB / 0.7825 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002836/0.6554, allocations: 1.671 MB / 0.7841 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008129/0.6563, allocations: 252 kB / 0.7844 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.6608, allocations: 2.179 MB / 0.7865 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.6621, allocations: 0.8056 MB / 0.7873 GB, free: 3.562 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.6642, allocations: 1.406 MB / 0.7887 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008019/0.6722, allocations: 4.966 MB / 0.7935 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6722, allocations: 0 / 0.7935 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6722, allocations: 8 kB / 0.7935 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.389e-05/0.6723, allocations: 0 / 0.7935 GB, free: 13.16 MB / 0.6075 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.007247/0.6796, allocations: 3.688 MB / 0.7971 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6796, allocations: 8.031 kB / 0.7971 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003022/0.6799, allocations: 245.8 kB / 0.7974 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.681, allocations: 402.6 kB / 0.7977 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/0.6863, allocations: 2.961 MB / 0.8006 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.6864, allocations: 119.3 kB / 0.8008 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.6867, allocations: 163.9 kB / 0.8009 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005683/0.6924, allocations: 2.57 MB / 0.8034 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.6924, allocations: 11.88 kB / 0.8034 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.6926, allocations: 72 kB / 0.8035 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.6926, allocations: 44 kB / 0.8035 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005181/0.6978, allocations: 1.909 MB / 0.8054 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.7111, allocations: 11.64 MB / 0.8168 GB, free: 4.441 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00502/0.7162, allocations: 1.944 MB / 0.8187 GB, free: 2.34 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.7177, allocations: 0.6708 MB / 0.8193 GB, free: 1.637 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/0.718, allocations: 162 kB / 0.8195 GB, free: 1.461 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003831/0.7218, allocations: 1.477 MB / 0.8209 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=225): time 3.767e-06/0.7218, allocations: 0 / 0.8209 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of matching and sorting (n=229): time 0.02581/0.7476, allocations: 13.4 MB / 0.834 GB, free: 2.297 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003543/0.748, allocations: 0.6467 MB / 0.8346 GB, free: 1.5 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.7514, allocations: 2.404 MB / 0.837 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003274/0.7518, allocations: 53.7 kB / 0.837 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009729/0.7527, allocations: 1.113 MB / 0.8381 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008606/0.7536, allocations: 0.7784 MB / 0.8389 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007679/0.7544, allocations: 0.4926 MB / 0.8394 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7545, allocations: 305.1 kB / 0.8397 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.7562, allocations: 0.7875 MB / 0.8404 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/0.7586, allocations: 1.484 MB / 0.8419 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1127/0.8713, allocations: 14.99 MB / 0.8565 GB, free: 10.36 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.8714, allocations: 8 kB / 0.8565 GB, free: 10.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007674/0.879, allocations: 3.071 MB / 0.8595 GB, free: 7.246 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.671e-05/0.8791, allocations: 79.61 kB / 0.8596 GB, free: 7.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005381/0.8845, allocations: 2.219 MB / 0.8618 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.8857, allocations: 270.4 kB / 0.862 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.8876, allocations: 0.5581 MB / 0.8626 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3969/1.285, allocations: 6.506 MB / 0.8689 GB, free: 115.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/1.287, allocations: 121.4 kB / 0.869 GB, free: 115.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003165/1.287, allocations: 141.9 kB / 0.8692 GB, free: 115.8 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003052/1.29, allocations: 1.258 MB / 0.8704 GB, free: 115.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002105/1.292, allocations: 1.471 MB / 0.8718 GB, free: 114.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1072/1.4, allocations: 14.95 MB / 0.8864 GB, free: 113.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-05/1.4, allocations: 6.594 kB / 0.8865 GB, free: 113.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006957/1.407, allocations: 2.988 MB / 0.8894 GB, free: 112.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/1.407, allocations: 81.56 kB / 0.8894 GB, free: 112.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00462/1.411, allocations: 2.136 MB / 0.8915 GB, free: 111.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/1.412, allocations: 261.6 kB / 0.8918 GB, free: 111.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/1.414, allocations: 0.5548 MB / 0.8923 GB, free: 111.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.424, allocations: 6.326 MB / 0.8985 GB, free: 106.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.426, allocations: 110.2 kB / 0.8986 GB, free: 106.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/1.427, allocations: 143.8 kB / 0.8987 GB, free: 106.1 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.0008151/1.428, allocations: 416 kB / 0.8991 GB, free: 105.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006288/1.428, allocations: 306.5 kB / 0.8994 GB, free: 105.8 MB / 0.67 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.004723/1.433, allocations: 2.244 MB / 0.9016 GB, free: 104.7 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.037802412000019] Failed to read output from testmodel.py, exit status != 0: 1.4403527779941214 1.452092337 0.777248119 Calling exit ...