Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.008221/0.008221, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0008158/0.0008158, allocations: 87.34 kB / 25.15 MB, free: 6.316 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.0008687/0.0008687, allocations: 161.6 kB / 29.05 MB, free: 3.352 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.008/1.008, allocations: 177.1 MB / 210 MB, free: 3.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6109/0.6109, allocations: 102.4 MB / 369.5 MB, free: 332 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.248e-05/3.459e-05, allocations: 7.062 kB / 469.9 MB, free: 18.98 MB / 410.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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.1483/0.1484, allocations: 62.15 MB / 0.5196 GB, free: 9.789 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02052/0.1689, allocations: 18.02 MB / 0.5372 GB, free: 7.723 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.1708, allocations: 55.62 kB / 0.5373 GB, free: 7.668 MB / 458.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.003146/0.1739, allocations: 1.307 MB / 0.5386 GB, free: 6.355 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.1776, allocations: 1.538 MB / 0.5401 GB, free: 4.809 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003976/0.1816, allocations: 2.113 MB / 0.5421 GB, free: 2.691 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004189/0.1858, allocations: 3.522 MB / 0.5456 GB, free: 15.15 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.188, allocations: 1.246 MB / 0.5468 GB, free: 13.88 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.1906, allocations: 1.913 MB / 0.5486 GB, free: 11.96 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.1922, allocations: 1.363 MB / 0.55 GB, free: 10.59 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.1926, allocations: 252 kB / 0.5502 GB, free: 10.35 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.1956, allocations: 1.702 MB / 0.5519 GB, free: 8.645 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005941/0.1962, allocations: 0.8251 MB / 0.5527 GB, free: 7.816 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008852/0.1971, allocations: 0.8569 MB / 0.5535 GB, free: 6.957 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.006341/0.2034, allocations: 3.675 MB / 0.5571 GB, free: 3.27 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2034, allocations: 8 kB / 0.5571 GB, free: 3.262 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2034, allocations: 0 / 0.5571 GB, free: 3.262 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.429e-05/0.2035, allocations: 0 / 0.5571 GB, free: 3.262 MB / 474.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.005885/0.2094, allocations: 4.124 MB / 0.5611 GB, free: 15.05 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.2094, allocations: 8.031 kB / 0.5612 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/0.2104, allocations: 0.5181 MB / 0.5617 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/0.2141, allocations: 2.614 MB / 0.5642 GB, free: 11.83 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.2142, allocations: 119.3 kB / 0.5643 GB, free: 11.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.2144, allocations: 156.4 kB / 0.5645 GB, free: 11.56 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/0.2176, allocations: 2.626 MB / 0.567 GB, free: 8.465 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.2177, allocations: 19.81 kB / 0.5671 GB, free: 8.445 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.2178, allocations: 68 kB / 0.5671 GB, free: 8.379 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.2178, allocations: 44 kB / 0.5672 GB, free: 8.336 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.2204, allocations: 1.304 MB / 0.5684 GB, free: 7.008 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009307/0.2297, allocations: 14.35 MB / 0.5824 GB, free: 8.199 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.2323, allocations: 1.441 MB / 0.5839 GB, free: 6.605 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005916/0.2329, allocations: 488.7 kB / 0.5843 GB, free: 6.07 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.2331, allocations: 87.41 kB / 0.5844 GB, free: 5.988 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001923/0.235, allocations: 1.27 MB / 0.5856 GB, free: 4.613 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=225): time 5.39e-06/0.235, allocations: 0 / 0.5856 GB, free: 4.613 MB / 0.4949 GB Notification: Performance of matching and sorting (n=229): time 0.01355/0.2485, allocations: 11.69 MB / 0.5971 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.2488, allocations: 0.6385 MB / 0.5977 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002463/0.2512, allocations: 2.194 MB / 0.5998 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.2514, allocations: 54.17 kB / 0.5999 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.2523, allocations: 1.235 MB / 0.6011 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006063/0.2529, allocations: 0.7745 MB / 0.6018 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006596/0.2535, allocations: 0.5145 MB / 0.6023 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2536, allocations: 476.8 kB / 0.6028 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.2544, allocations: 473.6 kB / 0.6032 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.2555, allocations: 1.525 MB / 0.6047 GB, free: 200 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002529/0.2581, allocations: 2.455 MB / 0.6071 GB, free: 13.29 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.2581, allocations: 4 kB / 0.6071 GB, free: 13.28 MB / 0.5262 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003751/0.2618, allocations: 2.376 MB / 0.6095 GB, free: 10.86 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.719e-05/0.2619, allocations: 87.62 kB / 0.6095 GB, free: 10.76 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002216/0.2641, allocations: 1.508 MB / 0.611 GB, free: 9.211 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008096/0.2649, allocations: 254.8 kB / 0.6113 GB, free: 8.949 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.266, allocations: 0.5538 MB / 0.6118 GB, free: 8.395 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/0.2721, allocations: 7.117 MB / 0.6187 GB, free: 0.9141 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.2734, allocations: 111.7 kB / 0.6189 GB, free: 0.8047 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.2736, allocations: 147.9 kB / 0.619 GB, free: 0.6602 MB / 0.5262 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.001277/0.2749, allocations: 0.6102 MB / 0.6196 GB, free: 32 kB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001205/0.2761, allocations: 1.525 MB / 0.6211 GB, free: 14.05 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002509/0.2786, allocations: 2.446 MB / 0.6235 GB, free: 11.15 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.149e-05/0.2786, allocations: 7.984 kB / 0.6235 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003397/0.282, allocations: 2.356 MB / 0.6258 GB, free: 8.742 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.2821, allocations: 79.39 kB / 0.6259 GB, free: 8.652 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002042/0.2841, allocations: 1.477 MB / 0.6273 GB, free: 7.137 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.2846, allocations: 222.9 kB / 0.6275 GB, free: 6.906 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/0.2856, allocations: 0.5498 MB / 0.628 GB, free: 6.355 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/0.2914, allocations: 7.074 MB / 0.635 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.2927, allocations: 107.7 kB / 0.6351 GB, free: 14.81 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.2929, allocations: 144.2 kB / 0.6352 GB, free: 14.67 MB / 0.5574 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.000681/0.2935, allocations: 0.5006 MB / 0.6357 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005875/0.2941, allocations: 338.1 kB / 0.636 GB, free: 13.81 MB / 0.5574 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.002403/0.2965, allocations: 1.975 MB / 0.6379 GB, free: 11.79 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2541132997721434]