Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.008423/0.008423, 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.000855/0.000855, allocations: 87.53 kB / 25.16 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.000936/0.000936, allocations: 163.5 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.028/1.028, 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 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 0.6626/0.6626, allocations: 102.5 MB / 369.5 MB, free: 352 kB / 330.7 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.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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 470 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.431e-05, allocations: 4.969 kB / 470 MB, free: 18.99 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.1585/0.1585, allocations: 62.16 MB / 0.5196 GB, free: 9.781 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01822/0.1767, allocations: 18.01 MB / 0.5372 GB, free: 7.719 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008704/0.1776, allocations: 59.56 kB / 0.5373 GB, free: 7.66 MB / 458.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.002042/0.1797, allocations: 1.311 MB / 0.5386 GB, free: 6.344 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.1814, allocations: 1.53 MB / 0.5401 GB, free: 4.805 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002989/0.1844, allocations: 2.111 MB / 0.5421 GB, free: 2.688 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.1866, allocations: 3.525 MB / 0.5456 GB, free: 15.15 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009903/0.1876, allocations: 1.25 MB / 0.5468 GB, free: 13.87 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001343/0.1889, allocations: 1.902 MB / 0.5486 GB, free: 11.96 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.19, allocations: 1.371 MB / 0.55 GB, free: 10.59 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.1904, allocations: 252 kB / 0.5502 GB, free: 10.34 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.1929, allocations: 1.703 MB / 0.5519 GB, free: 8.637 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005135/0.1934, allocations: 0.8212 MB / 0.5527 GB, free: 7.812 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006466/0.194, allocations: 0.8646 MB / 0.5535 GB, free: 6.945 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003753/0.1978, allocations: 3.671 MB / 0.5571 GB, free: 3.262 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1978, allocations: 0 / 0.5571 GB, free: 3.262 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1978, allocations: 4 kB / 0.5571 GB, free: 3.258 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.1978, allocations: 0 / 0.5571 GB, free: 3.258 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.003783/0.2016, allocations: 4.13 MB / 0.5612 GB, free: 15.04 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2016, allocations: 8.031 kB / 0.5612 GB, free: 15.04 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.2022, allocations: 0.5104 MB / 0.5617 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.2051, allocations: 2.613 MB / 0.5642 GB, free: 11.83 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/0.2052, allocations: 119.3 kB / 0.5643 GB, free: 11.71 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2053, allocations: 156.3 kB / 0.5645 GB, free: 11.56 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002827/0.2082, allocations: 2.627 MB / 0.567 GB, free: 8.465 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.2082, allocations: 15.88 kB / 0.5671 GB, free: 8.449 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/0.2083, allocations: 67.98 kB / 0.5671 GB, free: 8.383 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.2083, allocations: 47.98 kB / 0.5672 GB, free: 8.336 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.2104, allocations: 1.308 MB / 0.5684 GB, free: 7.004 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007491/0.2179, allocations: 14.33 MB / 0.5824 GB, free: 8.207 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002221/0.2201, allocations: 1.445 MB / 0.5839 GB, free: 6.609 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000526/0.2206, allocations: 492.7 kB / 0.5843 GB, free: 6.07 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.2208, allocations: 87.45 kB / 0.5844 GB, free: 5.988 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/0.2227, allocations: 1.268 MB / 0.5856 GB, free: 4.613 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=225): time 3.095e-06/0.2227, allocations: 4 kB / 0.5857 GB, free: 4.609 MB / 0.4949 GB Notification: Performance of matching and sorting (n=229): time 0.01129/0.234, allocations: 11.68 MB / 0.5971 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001835/0.2341, allocations: 0.6423 MB / 0.5977 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.236, allocations: 2.191 MB / 0.5998 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.2361, allocations: 57.7 kB / 0.5999 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/0.2368, allocations: 1.239 MB / 0.6011 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.2372, allocations: 0.7707 MB / 0.6018 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004712/0.2377, allocations: 0.5145 MB / 0.6023 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2378, allocations: 476.8 kB / 0.6028 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.2384, allocations: 465.6 kB / 0.6032 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.2395, allocations: 1.533 MB / 0.6047 GB, free: 196 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.2419, allocations: 2.447 MB / 0.6071 GB, free: 13.29 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.2419, allocations: 4 kB / 0.6071 GB, free: 13.29 MB / 0.5262 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003021/0.2449, allocations: 2.384 MB / 0.6095 GB, free: 10.86 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.245, allocations: 79.39 kB / 0.6095 GB, free: 10.77 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002091/0.2471, allocations: 1.516 MB / 0.611 GB, free: 9.207 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006294/0.2477, allocations: 250.8 kB / 0.6113 GB, free: 8.949 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.2487, allocations: 0.5577 MB / 0.6118 GB, free: 8.391 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00572/0.2544, allocations: 7.121 MB / 0.6188 GB, free: 0.9062 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007658/0.2552, allocations: 115.8 kB / 0.6189 GB, free: 0.793 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.2553, allocations: 151.8 kB / 0.619 GB, free: 0.6445 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.001078/0.2564, allocations: 0.6078 MB / 0.6196 GB, free: 20 kB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001107/0.2575, allocations: 1.525 MB / 0.6211 GB, free: 14.04 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002519/0.26, allocations: 2.442 MB / 0.6235 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.999e-06/0.26, allocations: 4 kB / 0.6235 GB, free: 11.14 MB / 0.5418 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003973/0.264, allocations: 2.349 MB / 0.6258 GB, free: 8.746 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.2641, allocations: 87.41 kB / 0.6259 GB, free: 8.648 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002615/0.2667, allocations: 1.465 MB / 0.6273 GB, free: 7.145 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005974/0.2673, allocations: 231 kB / 0.6275 GB, free: 6.906 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.2686, allocations: 0.5501 MB / 0.6281 GB, free: 6.355 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007172/0.2758, allocations: 7.074 MB / 0.635 GB, free: 14.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009789/0.2767, allocations: 107.8 kB / 0.6351 GB, free: 14.81 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.2769, allocations: 148 kB / 0.6352 GB, free: 14.66 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.0005214/0.2775, allocations: 0.4929 MB / 0.6357 GB, free: 14.15 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004736/0.2779, allocations: 350 kB / 0.636 GB, free: 13.8 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.002775/0.2807, allocations: 1.971 MB / 0.6379 GB, free: 11.78 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4044905928894877]