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.01029/0.01029, 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.001275/0.001275, allocations: 97.5 kB / 24.18 MB, free: 2.176 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.001571/0.001571, allocations: 215.5 kB / 27.9 MB, free: 3.5 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.491/1.491, allocations: 230.6 MB / 262.1 MB, free: 5.832 MB / 206.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.058/1.058, allocations: 130.8 MB / 449.7 MB, free: 6.355 MB / 350.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: 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.06563/0.06563, allocations: 20.98 MB / 0.6363 GB, free: 4.211 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.2495, 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.5318/0.7812, allocations: 44.8 MB / 0.7601 GB, free: 21.15 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02651/0.8077, allocations: 17.52 MB / 0.7772 GB, free: 9.039 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/0.8113, allocations: 54.53 kB / 0.7772 GB, free: 9.016 MB / 0.5607 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.004276/0.8155, allocations: 1.297 MB / 0.7785 GB, free: 8.453 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00541/0.821, allocations: 1.498 MB / 0.78 GB, free: 7.605 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005841/0.8268, allocations: 2.08 MB / 0.782 GB, free: 6.566 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005754/0.8326, allocations: 3.432 MB / 0.7854 GB, free: 4.91 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002331/0.8349, allocations: 1.151 MB / 0.7865 GB, free: 4.223 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.8382, allocations: 1.423 MB / 0.7879 GB, free: 3.391 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.8412, allocations: 1.569 MB / 0.7894 GB, free: 2.43 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.8423, allocations: 250.7 kB / 0.7896 GB, free: 2.43 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004967/0.8473, allocations: 1.687 MB / 0.7913 GB, free: 1.621 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.8485, allocations: 0.8102 MB / 0.7921 GB, free: 1.012 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.8505, allocations: 1.085 MB / 0.7931 GB, free: 276 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008506/0.859, allocations: 4.913 MB / 0.7979 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.859, allocations: 0 / 0.7979 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.774e-06/0.859, allocations: 0 / 0.7979 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.929e-05/0.8591, allocations: 0 / 0.7979 GB, free: 12.98 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.007779/0.8669, allocations: 3.935 MB / 0.8018 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8669, allocations: 8.438 kB / 0.8018 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.8681, allocations: 413.1 kB / 0.8022 GB, free: 9.93 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.8734, allocations: 2.844 MB / 0.805 GB, free: 7.258 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.8735, allocations: 123.2 kB / 0.8051 GB, free: 7.137 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.8738, allocations: 162.7 kB / 0.8052 GB, free: 6.98 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.8792, allocations: 2.854 MB / 0.808 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/0.8792, allocations: 15.88 kB / 0.808 GB, free: 3.742 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.8794, allocations: 68 kB / 0.8081 GB, free: 3.676 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.8794, allocations: 47.98 kB / 0.8081 GB, free: 3.629 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004786/0.8842, allocations: 1.96 MB / 0.8101 GB, free: 1.652 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.8966, allocations: 10.72 MB / 0.8205 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/0.9013, allocations: 1.769 MB / 0.8223 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.9026, allocations: 0.741 MB / 0.823 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.9029, allocations: 76.89 kB / 0.8231 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003557/0.9064, allocations: 1.531 MB / 0.8246 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.398e-06/0.9064, allocations: 0 / 0.8246 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02411/0.9306, allocations: 13.3 MB / 0.8375 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003648/0.9309, allocations: 0.6462 MB / 0.8382 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/0.9347, allocations: 2.358 MB / 0.8405 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003152/0.9351, allocations: 57.69 kB / 0.8405 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009828/0.936, allocations: 1.128 MB / 0.8416 GB, free: 432 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007801/0.9368, allocations: 0.7745 MB / 0.8424 GB, free: 15.64 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008367/0.9377, allocations: 0.4933 MB / 0.8429 GB, free: 15.14 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.9378, allocations: 313.1 kB / 0.8432 GB, free: 14.83 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.9395, allocations: 0.8443 MB / 0.844 GB, free: 13.98 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/0.942, allocations: 1.617 MB / 0.8456 GB, free: 12.02 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1065/1.049, allocations: 15.02 MB / 0.8602 GB, free: 13.48 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-05/1.049, allocations: 11.83 kB / 0.8602 GB, free: 13.47 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008319/1.057, allocations: 3.141 MB / 0.8633 GB, free: 10.3 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/1.057, allocations: 79.39 kB / 0.8634 GB, free: 10.21 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005432/1.062, allocations: 2.299 MB / 0.8656 GB, free: 7.883 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.064, allocations: 271.4 kB / 0.8659 GB, free: 7.613 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/1.065, allocations: 0.5576 MB / 0.8664 GB, free: 7.055 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.078, allocations: 6.104 MB / 0.8724 GB, free: 0.6484 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/1.08, allocations: 111.7 kB / 0.8725 GB, free: 0.5391 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005102/1.08, allocations: 155.9 kB / 0.8727 GB, free: 396 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.003377/1.084, allocations: 1.325 MB / 0.874 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002613/1.086, allocations: 1.601 MB / 0.8755 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1076/1.194, allocations: 14.97 MB / 0.8901 GB, free: 13.82 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.245e-05/1.194, allocations: 8 kB / 0.8901 GB, free: 13.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007943/1.202, allocations: 3.065 MB / 0.8931 GB, free: 10.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.289e-05/1.202, allocations: 80.17 kB / 0.8932 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005133/1.207, allocations: 2.212 MB / 0.8954 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.208, allocations: 254.2 kB / 0.8956 GB, free: 8.129 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/1.21, allocations: 0.5576 MB / 0.8962 GB, free: 7.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.221, allocations: 5.911 MB / 0.9019 GB, free: 1.367 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/1.223, allocations: 121.9 kB / 0.902 GB, free: 1.25 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004579/1.223, allocations: 147.9 kB / 0.9022 GB, free: 1.105 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.001026/1.224, allocations: 408.7 kB / 0.9026 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009931/1.225, allocations: 292.4 kB / 0.9029 GB, free: 412 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.004962/1.23, allocations: 2.267 MB / 0.9051 GB, free: 14.16 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.162125166505575] Failed to read output from testmodel.py, exit status != 0: 1.4293497428297997 1.446372088 0.583949731 Calling exit ...