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.01531/0.01531, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001439/0.001439, allocations: 104.6 kB / 24.18 MB, free: 2.438 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.001712/0.001712, allocations: 213.5 kB / 27.9 MB, free: 3.742 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.433/1.433, allocations: 230.6 MB / 262.1 MB, free: 5.824 MB / 206.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.088/1.088, allocations: 130.7 MB / 449.6 MB, free: 6.418 MB / 350.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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06413/0.06413, allocations: 20.99 MB / 0.6363 GB, free: 4.195 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.2235, allocations: 81.91 MB / 0.7163 GB, free: 2.195 MB / 0.5294 GB 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.5342/0.7577, allocations: 44.79 MB / 0.7601 GB, free: 21.11 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02764/0.7853, allocations: 17.53 MB / 0.7772 GB, free: 8.996 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/0.7892, allocations: 55.41 kB / 0.7772 GB, free: 8.973 MB / 0.5607 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.00496/0.7941, allocations: 1.301 MB / 0.7785 GB, free: 8.406 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.8003, allocations: 1.497 MB / 0.78 GB, free: 7.559 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007026/0.8073, allocations: 2.083 MB / 0.782 GB, free: 6.52 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006698/0.814, allocations: 3.423 MB / 0.7853 GB, free: 4.875 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002814/0.8168, allocations: 1.152 MB / 0.7865 GB, free: 4.215 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003594/0.8204, allocations: 1.424 MB / 0.7878 GB, free: 3.383 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003584/0.824, allocations: 1.563 MB / 0.7894 GB, free: 2.426 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.8254, allocations: 250.2 kB / 0.7896 GB, free: 2.426 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006023/0.8314, allocations: 1.683 MB / 0.7913 GB, free: 1.621 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.833, allocations: 0.8116 MB / 0.792 GB, free: 1.008 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.003263/0.8363, allocations: 1.085 MB / 0.7931 GB, free: 272 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.848, allocations: 4.915 MB / 0.7979 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.848, allocations: 4 kB / 0.7979 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.244e-06/0.848, allocations: 0 / 0.7979 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001986/0.8482, allocations: 1.375 kB / 0.7979 GB, free: 12.97 MB / 0.5763 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.01309/0.8613, allocations: 3.928 MB / 0.8018 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.8614, allocations: 11.78 kB / 0.8018 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.8632, allocations: 406 kB / 0.8021 GB, free: 9.93 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0083/0.8715, allocations: 2.86 MB / 0.8049 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.8717, allocations: 119.3 kB / 0.8051 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/0.8723, allocations: 156.1 kB / 0.8052 GB, free: 6.996 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007637/0.8799, allocations: 2.858 MB / 0.808 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.942e-05/0.88, allocations: 11.88 kB / 0.808 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002383/0.8802, allocations: 66.69 kB / 0.8081 GB, free: 3.695 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.8803, allocations: 44 kB / 0.8081 GB, free: 3.652 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005966/0.8862, allocations: 1.973 MB / 0.81 GB, free: 1.66 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.9026, allocations: 10.71 MB / 0.8205 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005712/0.9083, allocations: 1.778 MB / 0.8222 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.9101, allocations: 0.7251 MB / 0.8229 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/0.9105, allocations: 76.89 kB / 0.823 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004727/0.9152, allocations: 1.537 MB / 0.8245 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 8.627e-06/0.9152, allocations: 0 / 0.8245 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.03121/0.9465, allocations: 13.32 MB / 0.8375 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005158/0.947, allocations: 0.6462 MB / 0.8382 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004719/0.9517, allocations: 2.359 MB / 0.8405 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005487/0.9522, allocations: 53.7 kB / 0.8405 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001374/0.9536, allocations: 1.124 MB / 0.8416 GB, free: 448 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.955, allocations: 0.7747 MB / 0.8424 GB, free: 15.65 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.956, allocations: 0.4999 MB / 0.8429 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.9562, allocations: 311.5 kB / 0.8432 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.9583, allocations: 0.8417 MB / 0.844 GB, free: 13.99 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/0.9613, allocations: 1.621 MB / 0.8456 GB, free: 12.03 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1102/1.071, allocations: 15.01 MB / 0.8602 GB, free: 13.5 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-05/1.071, allocations: 8 kB / 0.8602 GB, free: 13.49 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009051/1.081, allocations: 3.137 MB / 0.8633 GB, free: 10.31 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.081, allocations: 88.97 kB / 0.8634 GB, free: 10.21 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006193/1.087, allocations: 2.298 MB / 0.8656 GB, free: 7.898 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.088, allocations: 274.3 kB / 0.8659 GB, free: 7.621 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002211/1.09, allocations: 0.5498 MB / 0.8664 GB, free: 7.07 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/1.103, allocations: 6.1 MB / 0.8724 GB, free: 0.668 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/1.106, allocations: 119.8 kB / 0.8725 GB, free: 0.5508 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/1.106, allocations: 150.5 kB / 0.8726 GB, free: 416 kB / 0.6388 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.003681/1.11, allocations: 1.325 MB / 0.8739 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002955/1.113, allocations: 1.605 MB / 0.8755 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.109/1.222, allocations: 14.97 MB / 0.8901 GB, free: 13.83 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.97e-05/1.222, allocations: 12 kB / 0.8901 GB, free: 13.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008139/1.23, allocations: 3.06 MB / 0.8931 GB, free: 10.72 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-05/1.23, allocations: 79.39 kB / 0.8932 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005408/1.236, allocations: 2.218 MB / 0.8953 GB, free: 8.391 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/1.237, allocations: 254.4 kB / 0.8956 GB, free: 8.133 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/1.239, allocations: 0.5576 MB / 0.8961 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/1.251, allocations: 5.91 MB / 0.9019 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.253, allocations: 119.6 kB / 0.902 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005223/1.254, allocations: 143.9 kB / 0.9022 GB, free: 1.117 MB / 0.67 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.001074/1.255, allocations: 403 kB / 0.9025 GB, free: 0.707 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/1.256, allocations: 298.1 kB / 0.9028 GB, free: 424 kB / 0.67 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.00535/1.261, allocations: 2.258 MB / 0.905 GB, free: 14.18 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.125731904990971] Failed to read output from testmodel.py, exit status != 0: 1.445202614646405 1.460449792 0.6089671489999999 Calling exit ...