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.01405/0.01405, allocations: 1.348 MB / 20.45 MB, free: 1.262 MB / 14.72 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.001749/0.001749, allocations: 78.88 kB / 24.02 MB, free: 2.609 MB / 14.72 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.001697/0.001697, allocations: 151.7 kB / 27.7 MB, free: 3.863 MB / 19.63 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.501/1.501, allocations: 177.2 MB / 208.4 MB, free: 7.684 MB / 190.1 MB " [Timeout remaining time 178] 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 1.079/1.079, allocations: 102.5 MB / 367.8 MB, free: 4.566 MB / 334.1 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 0.3.1 (/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 1.944e-06/1.944e-06, allocations: 0 / 0.5364 GB, free: 6.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.329e-05, allocations: 5.344 kB / 0.5364 GB, free: 6.977 MB / 446.1 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.1792/0.1792, allocations: 58.44 MB / 0.5935 GB, free: 15.08 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.2099, allocations: 17.24 MB / 0.6103 GB, free: 13.77 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.2132, allocations: 59.56 kB / 0.6104 GB, free: 13.71 MB / 0.5138 GB [/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.004599/0.2178, allocations: 1.301 MB / 0.6117 GB, free: 12.41 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.006074/0.2239, allocations: 1.534 MB / 0.6132 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.006899/0.2308, allocations: 2.111 MB / 0.6152 GB, free: 8.746 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.007014/0.2378, allocations: 3.522 MB / 0.6187 GB, free: 5.215 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/0.241, allocations: 1.164 MB / 0.6198 GB, free: 4.02 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.2446, allocations: 1.913 MB / 0.6217 GB, free: 2.102 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.247, allocations: 1.381 MB / 0.623 GB, free: 0.7188 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0004855/0.2475, allocations: 252 kB / 0.6233 GB, free: 484 kB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004453/0.2519, allocations: 1.699 MB / 0.6249 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009399/0.2529, allocations: 0.8173 MB / 0.6257 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.2541, allocations: 0.8646 MB / 0.6266 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009674/0.2638, allocations: 4.922 MB / 0.6314 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.2638, allocations: 3.938 kB / 0.6314 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2638, allocations: 0 / 0.6314 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001132/0.2639, allocations: 0 / 0.6314 GB, free: 8.141 MB / 0.5294 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.009486/0.2734, allocations: 3.899 MB / 0.6352 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.2735, allocations: 12.03 kB / 0.6352 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.2748, allocations: 410.5 kB / 0.6356 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005855/0.2806, allocations: 2.857 MB / 0.6384 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.2808, allocations: 119.2 kB / 0.6385 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.281, allocations: 152.3 kB / 0.6386 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006421/0.2874, allocations: 2.863 MB / 0.6414 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/0.2875, allocations: 19.81 kB / 0.6415 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.2877, allocations: 72 kB / 0.6415 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.2877, allocations: 47.98 kB / 0.6416 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005337/0.2931, allocations: 1.963 MB / 0.6435 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.3074, allocations: 10.67 MB / 0.6539 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005412/0.3128, allocations: 1.785 MB / 0.6557 GB, free: 14.28 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.3144, allocations: 0.7364 MB / 0.6564 GB, free: 13.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.3147, allocations: 72.95 kB / 0.6564 GB, free: 13.43 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003893/0.3186, allocations: 1.533 MB / 0.6579 GB, free: 11.8 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=225): time 5.029e-06/0.3186, allocations: 0 / 0.6579 GB, free: 11.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=229): time 0.03006/0.3487, allocations: 13.3 MB / 0.6709 GB, free: 14.32 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005001/0.3492, allocations: 0.6424 MB / 0.6716 GB, free: 13.53 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004153/0.3533, allocations: 2.355 MB / 0.6739 GB, free: 11.16 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0004818/0.3538, allocations: 61.64 kB / 0.6739 GB, free: 11.09 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.3551, allocations: 1.128 MB / 0.675 GB, free: 9.953 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.3561, allocations: 0.7706 MB / 0.6758 GB, free: 9.176 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008685/0.357, allocations: 0.4925 MB / 0.6763 GB, free: 8.676 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3572, allocations: 301.1 kB / 0.6765 GB, free: 8.379 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.3591, allocations: 0.8456 MB / 0.6774 GB, free: 7.52 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.3617, allocations: 1.632 MB / 0.679 GB, free: 5.547 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1173/0.479, allocations: 15.01 MB / 0.6936 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.511e-05/0.479, allocations: 8 kB / 0.6936 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.01001/0.489, allocations: 3.149 MB / 0.6967 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.4892, allocations: 75.39 kB / 0.6968 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006583/0.4957, allocations: 2.293 MB / 0.699 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001367/0.4971, allocations: 270.3 kB / 0.6993 GB, free: 288 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3291/0.8262, allocations: 0.5469 MB / 0.6998 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.838, allocations: 6.096 MB / 0.7058 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.8405, allocations: 115.6 kB / 0.7059 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/0.8409, allocations: 146 kB / 0.706 GB, free: 128.6 MB / 0.5919 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.003023/0.8439, allocations: 1.322 MB / 0.7073 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002174/0.8461, allocations: 1.608 MB / 0.7089 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1113/0.9573, allocations: 14.97 MB / 0.7235 GB, free: 122.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.125e-05/0.9574, allocations: 5.781 kB / 0.7235 GB, free: 122.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006111/0.9635, allocations: 3.069 MB / 0.7265 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.9635, allocations: 80.45 kB / 0.7266 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004143/0.9677, allocations: 2.214 MB / 0.7287 GB, free: 119.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009607/0.9686, allocations: 253.7 kB / 0.729 GB, free: 119.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.9702, allocations: 0.5537 MB / 0.7295 GB, free: 118.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009461/0.9797, allocations: 5.919 MB / 0.7353 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.9818, allocations: 111.2 kB / 0.7354 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/0.982, allocations: 143.9 kB / 0.7355 GB, free: 112.3 MB / 0.5919 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.0008561/0.9829, allocations: 416.2 kB / 0.7359 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/0.9833, allocations: 304.1 kB / 0.7362 GB, free: 111.8 MB / 0.5919 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.003529/0.9869, allocations: 2.245 MB / 0.7384 GB, free: 109.7 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.100308902561665] Failed to read output from testmodel.py, exit status != 0: 1.1642625108361244 1.174847645 0.9085438240000001 Calling exit ...