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.02823/0.02823, allocations: 1.796 MB / 21.15 MB, free: 3.246 MB / 18.57 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.0024/0.0024, allocations: 76.28 kB / 24.88 MB, free: 6.824 MB / 18.57 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.002882/0.002882, allocations: 160.5 kB / 28.74 MB, free: 3.656 MB / 18.57 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.499/1.499, allocations: 177.2 MB / 209.6 MB, free: 2.379 MB / 186.7 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.123/1.123, allocations: 102.5 MB / 369.1 MB, free: 0.8672 MB / 330.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 SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 469.2 MB, free: 12.97 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.655e-05/4.835e-05, allocations: 2.312 kB / 469.2 MB, free: 12.96 MB / 442.8 MB 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.2187/0.2188, allocations: 59.79 MB / 0.5166 GB, free: 1.125 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2198/0.4385, allocations: 17.86 MB / 0.534 GB, free: 66.66 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.4402, allocations: 55.47 kB / 0.534 GB, free: 66.63 MB / 490.8 MB [/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.002953/0.4432, allocations: 1.308 MB / 0.5353 GB, free: 66.05 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.4462, allocations: 1.54 MB / 0.5368 GB, free: 65.16 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004093/0.4503, allocations: 2.107 MB / 0.5389 GB, free: 64.1 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.003151/0.4535, allocations: 3.519 MB / 0.5423 GB, free: 62.34 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.4548, allocations: 1.246 MB / 0.5435 GB, free: 61.54 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002239/0.457, allocations: 1.905 MB / 0.5454 GB, free: 60.72 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002264/0.4593, allocations: 1.367 MB / 0.5467 GB, free: 60.29 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.4598, allocations: 250.7 kB / 0.547 GB, free: 60.29 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003796/0.4636, allocations: 1.702 MB / 0.5486 GB, free: 59.81 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00079/0.4644, allocations: 0.8206 MB / 0.5494 GB, free: 59.34 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.4656, allocations: 0.8619 MB / 0.5503 GB, free: 58.91 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.007927/0.4735, allocations: 4.947 MB / 0.5551 GB, free: 57.09 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4735, allocations: 1 kB / 0.5551 GB, free: 57.09 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4735, allocations: 0 / 0.5551 GB, free: 57.09 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.614e-05/0.4736, allocations: 0 / 0.5551 GB, free: 57.09 MB / 490.8 MB 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.008149/0.4818, allocations: 4.54 MB / 0.5595 GB, free: 54.32 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4818, allocations: 12.11 kB / 0.5596 GB, free: 54.32 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/0.4831, allocations: 0.5175 MB / 0.5601 GB, free: 54.08 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.488, allocations: 2.591 MB / 0.5626 GB, free: 52.71 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.4881, allocations: 118.5 kB / 0.5627 GB, free: 52.66 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.4883, allocations: 159.4 kB / 0.5629 GB, free: 52.6 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004892/0.4932, allocations: 3.149 MB / 0.5659 GB, free: 50.05 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.512e-05/0.4933, allocations: 12.91 kB / 0.5659 GB, free: 50.05 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.4934, allocations: 72.14 kB / 0.566 GB, free: 50 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.034e-05/0.4934, allocations: 45.06 kB / 0.5661 GB, free: 50 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004304/0.4977, allocations: 1.872 MB / 0.5679 GB, free: 49.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.5087, allocations: 15.45 MB / 0.583 GB, free: 35.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003995/0.5127, allocations: 1.843 MB / 0.5848 GB, free: 34.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.5138, allocations: 0.6956 MB / 0.5854 GB, free: 33.54 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.5141, allocations: 80.97 kB / 0.5855 GB, free: 33.46 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003131/0.5172, allocations: 1.637 MB / 0.5871 GB, free: 31.72 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 4.488e-06/0.5172, allocations: 0 / 0.5871 GB, free: 31.72 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.01957/0.5368, allocations: 13.08 MB / 0.5999 GB, free: 18.46 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.5369, allocations: 0.6346 MB / 0.6005 GB, free: 17.68 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/0.5402, allocations: 2.772 MB / 0.6032 GB, free: 14.9 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002522/0.5404, allocations: 53.7 kB / 0.6033 GB, free: 14.84 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007909/0.5412, allocations: 1.344 MB / 0.6046 GB, free: 13.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000562/0.5418, allocations: 0.8292 MB / 0.6054 GB, free: 12.64 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006981/0.5425, allocations: 0.5932 MB / 0.606 GB, free: 12.04 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.997e-05/0.5425, allocations: 484.6 kB / 0.6064 GB, free: 11.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.5438, allocations: 0.775 MB / 0.6072 GB, free: 10.78 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.5456, allocations: 1.923 MB / 0.6091 GB, free: 8.395 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.5498, allocations: 3.391 MB / 0.6124 GB, free: 4.586 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.5498, allocations: 4 kB / 0.6124 GB, free: 4.582 MB / 490.8 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007218/0.557, allocations: 3.067 MB / 0.6154 GB, free: 1.504 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/0.5571, allocations: 87.3 kB / 0.6155 GB, free: 1.41 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004546/0.5616, allocations: 2.096 MB / 0.6175 GB, free: 15.28 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/0.5633, allocations: 333.2 kB / 0.6178 GB, free: 14.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.5652, allocations: 0.5564 MB / 0.6184 GB, free: 14.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.5795, allocations: 7.822 MB / 0.626 GB, free: 6.277 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.5817, allocations: 111.7 kB / 0.6261 GB, free: 6.168 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/0.5821, allocations: 146.6 kB / 0.6263 GB, free: 6.027 MB / 0.4949 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.002903/0.585, allocations: 1.107 MB / 0.6273 GB, free: 4.902 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003118/0.5881, allocations: 1.911 MB / 0.6292 GB, free: 2.531 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006138/0.5942, allocations: 3.362 MB / 0.6325 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.745e-05/0.5942, allocations: 8 kB / 0.6325 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007614/0.6019, allocations: 3.015 MB / 0.6354 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.118e-05/0.6019, allocations: 79.38 kB / 0.6355 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005154/0.6071, allocations: 2.05 MB / 0.6375 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.6085, allocations: 299.1 kB / 0.6378 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.6105, allocations: 0.5537 MB / 0.6384 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/0.6244, allocations: 7.682 MB / 0.6459 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.6265, allocations: 110.4 kB / 0.646 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/0.6269, allocations: 146.6 kB / 0.6461 GB, free: 484 kB / 0.5105 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.0009305/0.6278, allocations: 499.8 kB / 0.6466 GB, free: 15.96 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00081/0.6286, allocations: 350 kB / 0.6469 GB, free: 15.62 MB / 0.5262 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.005183/0.6338, allocations: 2.156 MB / 0.649 GB, free: 13.53 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.702263650950044]