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.01009/0.01009, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001285/0.001285, allocations: 100.7 kB / 24.18 MB, free: 2.184 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.001564/0.001564, allocations: 215.9 kB / 27.9 MB, free: 3.504 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.413/1.413, allocations: 230.6 MB / 262.1 MB, free: 5.855 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.027/1.027, allocations: 130.7 MB / 449.6 MB, free: 6.367 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.06539/0.06539, allocations: 20.97 MB / 0.6363 GB, free: 4.199 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.2432, allocations: 81.91 MB / 0.7163 GB, free: 2.207 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.5786/0.8218, allocations: 44.79 MB / 0.7601 GB, free: 21.16 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02589/0.8477, allocations: 17.53 MB / 0.7772 GB, free: 9.035 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00341/0.8511, allocations: 55.59 kB / 0.7772 GB, free: 9.012 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.003981/0.8551, allocations: 1.298 MB / 0.7785 GB, free: 8.449 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.8601, allocations: 1.497 MB / 0.78 GB, free: 7.602 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006176/0.8663, allocations: 2.079 MB / 0.782 GB, free: 6.566 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006253/0.8726, allocations: 3.432 MB / 0.7853 GB, free: 4.91 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.875, allocations: 1.145 MB / 0.7865 GB, free: 4.199 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.8783, allocations: 1.427 MB / 0.7879 GB, free: 3.363 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003273/0.8816, allocations: 1.559 MB / 0.7894 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.8827, allocations: 250.2 kB / 0.7896 GB, free: 2.41 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005112/0.8878, allocations: 1.693 MB / 0.7913 GB, free: 1.598 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.8891, allocations: 0.8159 MB / 0.7921 GB, free: 0.9805 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002869/0.892, allocations: 1.086 MB / 0.7931 GB, free: 244 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.011/0.903, allocations: 4.906 MB / 0.7979 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.903, allocations: 5.188 kB / 0.7979 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.152e-06/0.903, allocations: 0 / 0.7979 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001844/0.9032, allocations: 2.656 kB / 0.7979 GB, free: 12.95 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.01111/0.9143, allocations: 3.927 MB / 0.8018 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.9143, allocations: 12.03 kB / 0.8018 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.9158, allocations: 410.2 kB / 0.8022 GB, free: 9.902 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005589/0.9213, allocations: 2.849 MB / 0.8049 GB, free: 7.227 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.9215, allocations: 119.3 kB / 0.8051 GB, free: 7.109 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/0.9217, allocations: 156.1 kB / 0.8052 GB, free: 6.957 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005497/0.9272, allocations: 2.855 MB / 0.808 GB, free: 3.734 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.395e-05/0.9273, allocations: 15.88 kB / 0.808 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.9274, allocations: 66.66 kB / 0.8081 GB, free: 3.656 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.9274, allocations: 44 kB / 0.8081 GB, free: 3.613 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004852/0.9323, allocations: 1.968 MB / 0.81 GB, free: 1.629 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01301/0.9453, allocations: 10.72 MB / 0.8205 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/0.95, allocations: 1.781 MB / 0.8222 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.9514, allocations: 0.7304 MB / 0.823 GB, free: 3.926 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.9517, allocations: 76.84 kB / 0.823 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003649/0.9553, allocations: 1.541 MB / 0.8245 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.538e-06/0.9553, allocations: 0 / 0.8245 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02453/0.9799, allocations: 13.31 MB / 0.8375 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004146/0.9803, allocations: 0.6424 MB / 0.8382 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/0.9839, allocations: 2.359 MB / 0.8405 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/0.9842, allocations: 53.7 kB / 0.8405 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.9853, allocations: 1.129 MB / 0.8416 GB, free: 408 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008594/0.9862, allocations: 0.7745 MB / 0.8424 GB, free: 15.62 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007855/0.9869, allocations: 0.5003 MB / 0.8429 GB, free: 15.11 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9871, allocations: 307.7 kB / 0.8432 GB, free: 14.81 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.9889, allocations: 0.8455 MB / 0.844 GB, free: 13.95 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.9913, allocations: 1.621 MB / 0.8456 GB, free: 11.98 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1093/1.101, allocations: 15.02 MB / 0.8602 GB, free: 13.47 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/1.101, allocations: 8 kB / 0.8602 GB, free: 13.46 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007439/1.108, allocations: 3.146 MB / 0.8633 GB, free: 10.28 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/1.108, allocations: 76.36 kB / 0.8634 GB, free: 10.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005222/1.113, allocations: 2.297 MB / 0.8656 GB, free: 7.871 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/1.115, allocations: 274.3 kB / 0.8659 GB, free: 7.594 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/1.116, allocations: 0.5499 MB / 0.8664 GB, free: 7.043 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.128, allocations: 6.11 MB / 0.8724 GB, free: 0.6367 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/1.131, allocations: 115.7 kB / 0.8725 GB, free: 0.5234 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002879/1.131, allocations: 147.9 kB / 0.8726 GB, free: 388 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.002912/1.134, allocations: 1.332 MB / 0.8739 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002341/1.136, allocations: 1.605 MB / 0.8755 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1101/1.246, allocations: 14.96 MB / 0.8901 GB, free: 13.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.866e-05/1.246, allocations: 8 kB / 0.8901 GB, free: 13.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006844/1.253, allocations: 3.065 MB / 0.8931 GB, free: 10.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.366e-05/1.253, allocations: 75.5 kB / 0.8932 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004765/1.258, allocations: 2.222 MB / 0.8954 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.259, allocations: 254.8 kB / 0.8956 GB, free: 8.113 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.261, allocations: 0.5511 MB / 0.8961 GB, free: 7.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/1.272, allocations: 5.912 MB / 0.9019 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.274, allocations: 131.7 kB / 0.902 GB, free: 1.227 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/1.274, allocations: 144 kB / 0.9022 GB, free: 1.086 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.0008151/1.275, allocations: 408.6 kB / 0.9026 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/1.276, allocations: 294.1 kB / 0.9028 GB, free: 392 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.004563/1.28, allocations: 2.261 MB / 0.9051 GB, free: 14.15 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.166791910305619] Failed to read output from testmodel.py, exit status != 0: 1.4898491632193327 1.504766374 0.5986517969999999 Calling exit ...