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.0122/0.0122, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.006558/0.006558, allocations: 80.25 kB / 24.44 MB, free: 7.531 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.001494/0.001494, allocations: 163 kB / 28.2 MB, free: 4.668 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.52/1.52, allocations: 177.2 MB / 209 MB, free: 2.785 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.111/1.111, allocations: 102.5 MB / 368.4 MB, free: 1.289 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 2.355e-06/2.355e-06, allocations: 0 / 468.3 MB, free: 13.5 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.576e-05, allocations: 4.984 kB / 468.3 MB, free: 13.49 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.1902/0.1902, allocations: 58.62 MB / 0.5146 GB, free: 2.816 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.3261/0.5163, allocations: 17.24 MB / 0.5314 GB, free: 68.97 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/0.5198, allocations: 56.03 kB / 0.5315 GB, free: 68.95 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.004309/0.5242, allocations: 1.311 MB / 0.5328 GB, free: 68.36 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.5297, allocations: 1.538 MB / 0.5343 GB, free: 67.47 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006556/0.5362, allocations: 2.092 MB / 0.5363 GB, free: 66.42 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.00586/0.5421, allocations: 3.525 MB / 0.5397 GB, free: 64.66 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.5451, allocations: 1.219 MB / 0.5409 GB, free: 63.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006183/0.5512, allocations: 1.912 MB / 0.5428 GB, free: 63.05 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/0.556, allocations: 1.37 MB / 0.5441 GB, free: 62.62 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001763/0.5577, allocations: 254.8 kB / 0.5444 GB, free: 62.61 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09521/0.6529, allocations: 17.18 MB / 0.5612 GB, free: 53.2 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.6544, allocations: 0.8245 MB / 0.562 GB, free: 52.72 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.6563, allocations: 0.8575 MB / 0.5628 GB, free: 52.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009622/0.6659, allocations: 4.938 MB / 0.5676 GB, free: 50.48 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6659, allocations: 2.672 kB / 0.5676 GB, free: 50.48 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.666, allocations: 0 / 0.5676 GB, free: 50.48 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001247/0.6661, allocations: 0 / 0.5676 GB, free: 50.48 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.008691/0.6748, allocations: 3.902 MB / 0.5714 GB, free: 47.82 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6748, allocations: 9.438 kB / 0.5714 GB, free: 47.82 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.6762, allocations: 0.5169 MB / 0.572 GB, free: 47.55 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005263/0.6815, allocations: 2.918 MB / 0.5748 GB, free: 45.61 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.6816, allocations: 119.5 kB / 0.5749 GB, free: 45.55 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.6818, allocations: 159.4 kB / 0.5751 GB, free: 45.5 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005119/0.6869, allocations: 2.856 MB / 0.5779 GB, free: 43.28 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/0.687, allocations: 17.42 kB / 0.5779 GB, free: 43.27 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.6871, allocations: 72.94 kB / 0.5779 GB, free: 43.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.6872, allocations: 47.78 kB / 0.578 GB, free: 43.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.6917, allocations: 1.965 MB / 0.5799 GB, free: 41.59 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009976/0.7016, allocations: 10.72 MB / 0.5904 GB, free: 30.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/0.7058, allocations: 1.778 MB / 0.5921 GB, free: 28.68 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001203/0.707, allocations: 0.7346 MB / 0.5928 GB, free: 27.9 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/0.7072, allocations: 79.69 kB / 0.5929 GB, free: 27.82 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003248/0.7105, allocations: 1.537 MB / 0.5944 GB, free: 26.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 4.909e-06/0.7105, allocations: 4 kB / 0.5944 GB, free: 26.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.02074/0.7312, allocations: 13.45 MB / 0.6075 GB, free: 12.58 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.7314, allocations: 0.6385 MB / 0.6082 GB, free: 11.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.7342, allocations: 2.363 MB / 0.6105 GB, free: 9.422 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003486/0.7346, allocations: 53.7 kB / 0.6105 GB, free: 9.363 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/0.7353, allocations: 1.123 MB / 0.6116 GB, free: 8.23 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006078/0.7359, allocations: 0.7706 MB / 0.6124 GB, free: 7.453 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006637/0.7366, allocations: 0.4886 MB / 0.6129 GB, free: 6.957 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.7366, allocations: 305.1 kB / 0.6131 GB, free: 6.656 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/0.7381, allocations: 0.8417 MB / 0.614 GB, free: 5.801 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.7399, allocations: 1.627 MB / 0.6156 GB, free: 3.828 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1107/0.8506, allocations: 15.01 MB / 0.6302 GB, free: 5.34 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.561e-05/0.8507, allocations: 9.844 kB / 0.6302 GB, free: 5.332 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.01043/0.8611, allocations: 3.236 MB / 0.6334 GB, free: 2.062 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.8612, allocations: 79.3 kB / 0.6335 GB, free: 1.973 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00629/0.8675, allocations: 2.312 MB / 0.6357 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.8694, allocations: 338.3 kB / 0.636 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/0.8715, allocations: 0.5498 MB / 0.6366 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.8851, allocations: 6.13 MB / 0.6426 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.8876, allocations: 115.7 kB / 0.6427 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006406/0.8883, allocations: 143.9 kB / 0.6428 GB, free: 8.055 MB / 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004312/0.8926, allocations: 1.324 MB / 0.6441 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003235/0.8958, allocations: 1.605 MB / 0.6457 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.114/1.01, allocations: 14.97 MB / 0.6603 GB, free: 5.465 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.147e-05/1.01, allocations: 4 kB / 0.6603 GB, free: 5.461 MB / 0.5262 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008773/1.019, allocations: 3.148 MB / 0.6634 GB, free: 2.266 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-05/1.019, allocations: 83.38 kB / 0.6634 GB, free: 2.172 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005582/1.024, allocations: 2.216 MB / 0.6656 GB, free: 15.92 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/1.026, allocations: 286.4 kB / 0.6659 GB, free: 15.63 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/1.028, allocations: 0.5539 MB / 0.6664 GB, free: 15.08 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/1.041, allocations: 5.942 MB / 0.6722 GB, free: 8.84 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/1.043, allocations: 119.9 kB / 0.6723 GB, free: 8.723 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005546/1.044, allocations: 143.9 kB / 0.6725 GB, free: 8.582 MB / 0.5418 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.001162/1.045, allocations: 412.8 kB / 0.6729 GB, free: 8.16 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.046, allocations: 350.1 kB / 0.6732 GB, free: 7.816 MB / 0.5418 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.005657/1.052, allocations: 2.251 MB / 0.6754 GB, free: 5.586 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.102621637983248]