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.006154/0.006154, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007108/0.0007108, allocations: 92.61 kB / 24.9 MB, free: 7.27 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.0007401/0.0007401, allocations: 164.9 kB / 28.62 MB, free: 4.453 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 0.8754/0.8754, allocations: 177.1 MB / 209.4 MB, free: 2.965 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.7127/0.7127, allocations: 102.5 MB / 368.7 MB, free: 1.508 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 0.5.2 (/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.523e-06/1.523e-06, allocations: 0 / 0.5374 GB, free: 39.76 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.119e-05, allocations: 4.812 kB / 0.5374 GB, free: 39.76 MB / 490.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.1109/0.1109, allocations: 58.41 MB / 0.5944 GB, free: 1.645 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01846/0.1294, allocations: 17.24 MB / 0.6113 GB, free: 348 kB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.1305, allocations: 55.62 kB / 0.6113 GB, free: 292 kB / 0.4949 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.002266/0.1328, allocations: 1.305 MB / 0.6126 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.1349, allocations: 1.538 MB / 0.6141 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.1382, allocations: 2.117 MB / 0.6162 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.1405, allocations: 3.533 MB / 0.6196 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.1417, allocations: 1.167 MB / 0.6208 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.143, allocations: 1.902 MB / 0.6226 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.1441, allocations: 1.371 MB / 0.624 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.1443, allocations: 252 kB / 0.6242 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.147, allocations: 1.703 MB / 0.6259 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004787/0.1475, allocations: 0.8212 MB / 0.6267 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000975/0.1484, allocations: 0.8568 MB / 0.6275 GB, free: 15.64 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.1524, allocations: 4.93 MB / 0.6323 GB, free: 10.7 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1524, allocations: 4 kB / 0.6323 GB, free: 10.7 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1524, allocations: 0 / 0.6323 GB, free: 10.7 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.1524, allocations: 0 / 0.6323 GB, free: 10.7 MB / 0.5262 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.004364/0.1568, allocations: 3.899 MB / 0.6361 GB, free: 6.723 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1568, allocations: 8.031 kB / 0.6361 GB, free: 6.715 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.1574, allocations: 410.5 kB / 0.6365 GB, free: 6.312 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.1607, allocations: 2.843 MB / 0.6393 GB, free: 3.402 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.093e-05/0.1608, allocations: 119.3 kB / 0.6394 GB, free: 3.285 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.161, allocations: 152.3 kB / 0.6396 GB, free: 3.137 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/0.1648, allocations: 2.863 MB / 0.6424 GB, free: 15.9 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.1648, allocations: 15.81 kB / 0.6424 GB, free: 15.88 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.1649, allocations: 75.94 kB / 0.6425 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.165, allocations: 44 kB / 0.6425 GB, free: 15.77 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.1679, allocations: 1.967 MB / 0.6444 GB, free: 13.78 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007861/0.1758, allocations: 10.68 MB / 0.6548 GB, free: 2.746 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.1786, allocations: 1.778 MB / 0.6566 GB, free: 0.8555 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008659/0.1795, allocations: 0.7352 MB / 0.6573 GB, free: 80 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.1797, allocations: 76.95 kB / 0.6574 GB, free: 4 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/0.1818, allocations: 1.541 MB / 0.6589 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 4.93e-06/0.1818, allocations: 0 / 0.6589 GB, free: 14.37 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01386/0.1957, allocations: 13.3 MB / 0.6719 GB, free: 0.8867 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002166/0.1959, allocations: 0.6423 MB / 0.6725 GB, free: 96 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.198, allocations: 2.355 MB / 0.6748 GB, free: 13.72 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/0.1981, allocations: 57.69 kB / 0.6748 GB, free: 13.66 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008408/0.1989, allocations: 1.128 MB / 0.6759 GB, free: 12.52 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/0.1993, allocations: 0.7667 MB / 0.6767 GB, free: 11.75 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004692/0.1998, allocations: 0.4964 MB / 0.6772 GB, free: 11.25 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.1999, allocations: 301.1 kB / 0.6775 GB, free: 10.95 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.2009, allocations: 0.8456 MB / 0.6783 GB, free: 10.09 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.2023, allocations: 1.621 MB / 0.6799 GB, free: 8.129 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04873/0.2511, allocations: 15.02 MB / 0.6945 GB, free: 8.738 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/0.2511, allocations: 7.938 kB / 0.6946 GB, free: 8.73 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004519/0.2556, allocations: 3.14 MB / 0.6976 GB, free: 5.547 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.2557, allocations: 79.39 kB / 0.6977 GB, free: 5.457 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002948/0.2586, allocations: 2.301 MB / 0.6999 GB, free: 3.121 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/0.2592, allocations: 262.4 kB / 0.7002 GB, free: 2.855 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.2602, allocations: 0.5579 MB / 0.7007 GB, free: 2.297 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006726/0.2669, allocations: 6.102 MB / 0.7067 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.2683, allocations: 119.6 kB / 0.7068 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.2685, allocations: 143.9 kB / 0.7069 GB, free: 11.63 MB / 0.6043 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.002051/0.2705, allocations: 1.316 MB / 0.7082 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00137/0.2719, allocations: 1.609 MB / 0.7098 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04871/0.3206, allocations: 14.96 MB / 0.7244 GB, free: 9.016 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.341e-05/0.3206, allocations: 11.94 kB / 0.7244 GB, free: 9.004 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004107/0.3247, allocations: 3.07 MB / 0.7274 GB, free: 5.891 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.3248, allocations: 79.38 kB / 0.7275 GB, free: 5.801 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002728/0.3275, allocations: 2.204 MB / 0.7297 GB, free: 3.562 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.328, allocations: 254.4 kB / 0.7299 GB, free: 3.305 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000933/0.329, allocations: 0.5537 MB / 0.7304 GB, free: 2.75 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006016/0.335, allocations: 5.923 MB / 0.7362 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.336, allocations: 111.9 kB / 0.7363 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.3362, allocations: 143.9 kB / 0.7365 GB, free: 12.27 MB / 0.6355 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.0005644/0.3368, allocations: 408.8 kB / 0.7369 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.3371, allocations: 298 kB / 0.7371 GB, free: 11.56 MB / 0.6355 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.002755/0.3398, allocations: 2.251 MB / 0.7393 GB, free: 9.262 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3543940940871835] Failed to read output from testmodel.py, exit status != 0: 0.7314988831058145 0.738577114 0.584692305 Calling exit ...