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.01016/0.01016, 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.001286/0.001286, allocations: 79.27 kB / 24.02 MB, free: 2.605 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.001492/0.001492, allocations: 156 kB / 27.71 MB, free: 3.859 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.489/1.489, allocations: 177.2 MB / 208.4 MB, free: 7.664 MB / 190.1 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.049/1.049, allocations: 102.5 MB / 367.8 MB, free: 4.598 MB / 334.1 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.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_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.542e-06/1.542e-06, allocations: 0 / 0.5365 GB, free: 7.133 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.524e-05, allocations: 2.281 kB / 0.5365 GB, free: 7.129 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.1637/0.1637, allocations: 58.44 MB / 0.5935 GB, free: 15.2 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03176/0.1955, allocations: 17.24 MB / 0.6104 GB, free: 13.89 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.1978, allocations: 55.62 kB / 0.6104 GB, free: 13.84 MB / 0.5138 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.004719/0.2026, allocations: 1.309 MB / 0.6117 GB, free: 12.52 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.004797/0.2074, allocations: 1.53 MB / 0.6132 GB, free: 10.98 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.006153/0.2135, allocations: 2.117 MB / 0.6153 GB, free: 8.863 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.006139/0.2197, allocations: 3.522 MB / 0.6187 GB, free: 5.332 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00263/0.2223, allocations: 1.16 MB / 0.6198 GB, free: 4.141 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004529/0.2268, allocations: 1.917 MB / 0.6217 GB, free: 2.219 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.2297, allocations: 1.373 MB / 0.623 GB, free: 0.8438 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0008316/0.2305, allocations: 252 kB / 0.6233 GB, free: 0.5977 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004719/0.2352, allocations: 1.695 MB / 0.6249 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.2366, allocations: 0.825 MB / 0.6257 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.2388, allocations: 0.8646 MB / 0.6266 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009661/0.2484, allocations: 4.93 MB / 0.6314 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2484, allocations: 0 / 0.6314 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2484, allocations: 3.938 kB / 0.6314 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001675/0.2486, allocations: 3.938 kB / 0.6314 GB, free: 8.25 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.009984/0.2586, allocations: 3.895 MB / 0.6352 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.2586, allocations: 8.031 kB / 0.6352 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.26, allocations: 406.6 kB / 0.6356 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/0.2661, allocations: 2.86 MB / 0.6384 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.2662, allocations: 119.3 kB / 0.6385 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.2665, allocations: 148.3 kB / 0.6387 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006209/0.2727, allocations: 2.863 MB / 0.6415 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.2727, allocations: 15.81 kB / 0.6415 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.2729, allocations: 72 kB / 0.6415 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.2729, allocations: 44 kB / 0.6416 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005513/0.2784, allocations: 1.963 MB / 0.6435 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.2923, allocations: 10.68 MB / 0.6539 GB, free: 300 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005128/0.2974, allocations: 1.779 MB / 0.6557 GB, free: 14.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.299, allocations: 0.7325 MB / 0.6564 GB, free: 13.62 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/0.2993, allocations: 72.97 kB / 0.6565 GB, free: 13.55 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004149/0.3035, allocations: 1.541 MB / 0.658 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=225): time 4.478e-06/0.3035, allocations: 0 / 0.658 GB, free: 11.91 MB / 0.5607 GB Notification: Performance of matching and sorting (n=229): time 0.02844/0.3319, allocations: 13.29 MB / 0.6709 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005458/0.3325, allocations: 0.6501 MB / 0.6716 GB, free: 13.65 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.3365, allocations: 2.36 MB / 0.6739 GB, free: 11.28 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0004602/0.337, allocations: 57.7 kB / 0.6739 GB, free: 11.21 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00123/0.3382, allocations: 1.132 MB / 0.675 GB, free: 10.07 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001137/0.3393, allocations: 0.7667 MB / 0.6758 GB, free: 9.297 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008816/0.3402, allocations: 0.4925 MB / 0.6763 GB, free: 8.797 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3404, allocations: 305.1 kB / 0.6766 GB, free: 8.496 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.3424, allocations: 0.8456 MB / 0.6774 GB, free: 7.637 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00275/0.3451, allocations: 1.625 MB / 0.679 GB, free: 5.672 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1187/0.4639, allocations: 15.02 MB / 0.6936 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.991e-05/0.4639, allocations: 4 kB / 0.6936 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009149/0.473, allocations: 3.141 MB / 0.6967 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.4732, allocations: 87.56 kB / 0.6968 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006115/0.4793, allocations: 2.293 MB / 0.699 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.4806, allocations: 270.4 kB / 0.6993 GB, free: 408 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3444/0.825, allocations: 0.5544 MB / 0.6998 GB, free: 132.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.8371, allocations: 6.086 MB / 0.7058 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.8392, allocations: 117 kB / 0.7059 GB, free: 128.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003278/0.8395, allocations: 149.9 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.003218/0.8427, allocations: 1.323 MB / 0.7073 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002217/0.8449, allocations: 1.611 MB / 0.7089 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1138/0.9588, allocations: 14.97 MB / 0.7235 GB, free: 122.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.482e-05/0.9588, allocations: 6.781 kB / 0.7235 GB, free: 122.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006553/0.9653, allocations: 3.065 MB / 0.7265 GB, free: 121.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.9654, allocations: 81.27 kB / 0.7266 GB, free: 121.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004184/0.9696, allocations: 2.216 MB / 0.7287 GB, free: 119.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.9706, allocations: 261.8 kB / 0.729 GB, free: 119.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.9722, allocations: 0.546 MB / 0.7295 GB, free: 118.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009881/0.9821, allocations: 5.919 MB / 0.7353 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/0.9843, allocations: 116.6 kB / 0.7354 GB, free: 112.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/0.9845, allocations: 147.9 kB / 0.7356 GB, free: 112.4 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.0009197/0.9854, allocations: 401.9 kB / 0.7359 GB, free: 112 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.986, allocations: 296.8 kB / 0.7362 GB, free: 111.9 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.003724/0.9897, allocations: 2.254 MB / 0.7384 GB, free: 109.8 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.8150838278234005] Failed to read output from testmodel.py, exit status != 0: 1.1504494324326515 1.160655556 0.909776636 Calling exit ...