Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump.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.0103/0.0103, allocations: 1.745 MB / 21.38 MB, free: 480 kB / 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.001244/0.001244, allocations: 96.42 kB / 24.96 MB, free: 2.059 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.001928/0.001928, allocations: 212.5 kB / 28.68 MB, free: 3.348 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.452/1.452, allocations: 230.6 MB / 262.9 MB, free: 5.832 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.106/1.106, allocations: 130.7 MB / 450.4 MB, free: 6.387 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.Electrical.Check.TestAsynchronousMotorWithPump,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.Electrical.Check.TestAsynchronousMotorWithPump") translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,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.Electrical.Check.TestAsynchronousMotorWithPump") [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.06487/0.06487, allocations: 20.61 MB / 0.6367 GB, free: 4.527 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.2491, allocations: 81.92 MB / 0.7167 GB, free: 2.531 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.Electrical.Check.TestAsynchronousMotorWithPump): time 0.5458/0.7949, allocations: 44.79 MB / 0.7605 GB, free: 21.2 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02752/0.8224, allocations: 17.51 MB / 0.7776 GB, free: 9.086 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003924/0.8263, allocations: 59.59 kB / 0.7776 GB, free: 9.059 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.004674/0.831, allocations: 1.31 MB / 0.7789 GB, free: 8.484 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006104/0.8371, allocations: 1.488 MB / 0.7803 GB, free: 7.645 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007205/0.8443, allocations: 2.086 MB / 0.7824 GB, free: 6.602 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007694/0.852, allocations: 3.424 MB / 0.7857 GB, free: 4.953 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003215/0.8552, allocations: 1.097 MB / 0.7868 GB, free: 4.344 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.8591, allocations: 1.434 MB / 0.7882 GB, free: 3.504 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.863, allocations: 1.664 MB / 0.7898 GB, free: 2.449 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.8644, allocations: 250.5 kB / 0.7901 GB, free: 2.449 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005724/0.8701, allocations: 1.735 MB / 0.7918 GB, free: 1.586 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.8716, allocations: 0.8112 MB / 0.7926 GB, free: 0.9727 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002885/0.8744, allocations: 1.081 MB / 0.7936 GB, free: 240 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.8864, allocations: 4.909 MB / 0.7984 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8864, allocations: 1.375 kB / 0.7984 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8864, allocations: 0 / 0.7984 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.000203/0.8866, allocations: 0 / 0.7984 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.01102/0.8976, allocations: 3.938 MB / 0.8022 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.8977, allocations: 8.969 kB / 0.8023 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.899, allocations: 409.3 kB / 0.8026 GB, free: 9.895 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.9048, allocations: 2.858 MB / 0.8054 GB, free: 7.391 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.9049, allocations: 123.2 kB / 0.8056 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/0.9052, allocations: 156.1 kB / 0.8057 GB, free: 7.117 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006157/0.9113, allocations: 2.861 MB / 0.8085 GB, free: 3.891 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-05/0.9114, allocations: 11.88 kB / 0.8085 GB, free: 3.879 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.9115, allocations: 71.89 kB / 0.8086 GB, free: 3.812 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.9116, allocations: 44 kB / 0.8086 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005299/0.9169, allocations: 1.972 MB / 0.8105 GB, free: 1.781 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/0.9316, allocations: 10.71 MB / 0.821 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005069/0.9367, allocations: 1.782 MB / 0.8227 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/0.9382, allocations: 0.7274 MB / 0.8235 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.9385, allocations: 80.84 kB / 0.8235 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003924/0.9424, allocations: 1.533 MB / 0.825 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.328e-06/0.9424, allocations: 0 / 0.825 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02535/0.9678, allocations: 13.31 MB / 0.838 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004002/0.9682, allocations: 0.6385 MB / 0.8387 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/0.9718, allocations: 2.33 MB / 0.8409 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003185/0.9721, allocations: 57.64 kB / 0.841 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.9736, allocations: 1.135 MB / 0.8421 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008287/0.9744, allocations: 0.7784 MB / 0.8429 GB, free: 15.8 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008242/0.9753, allocations: 0.4964 MB / 0.8433 GB, free: 15.29 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.9754, allocations: 309.1 kB / 0.8436 GB, free: 14.99 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.9772, allocations: 0.8417 MB / 0.8445 GB, free: 14.13 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.9798, allocations: 1.623 MB / 0.846 GB, free: 12.17 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1054/1.085, allocations: 15.01 MB / 0.8607 GB, free: 13.64 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-05/1.085, allocations: 8 kB / 0.8607 GB, free: 13.63 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007362/1.093, allocations: 3.137 MB / 0.8638 GB, free: 10.45 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.904e-05/1.093, allocations: 83.42 kB / 0.8638 GB, free: 10.36 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005231/1.098, allocations: 2.296 MB / 0.8661 GB, free: 8.039 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/1.099, allocations: 275.8 kB / 0.8663 GB, free: 7.766 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.101, allocations: 0.5537 MB / 0.8669 GB, free: 7.211 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/1.113, allocations: 6.109 MB / 0.8729 GB, free: 0.8047 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/1.115, allocations: 119.7 kB / 0.873 GB, free: 0.6875 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002883/1.115, allocations: 152 kB / 0.8731 GB, free: 0.5391 MB / 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.002981/1.118, allocations: 1.316 MB / 0.8744 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002459/1.121, allocations: 1.605 MB / 0.876 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1057/1.227, allocations: 14.97 MB / 0.8906 GB, free: 13.97 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.113e-05/1.227, allocations: 12 kB / 0.8906 GB, free: 13.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006969/1.234, allocations: 3.058 MB / 0.8936 GB, free: 10.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-05/1.234, allocations: 79.38 kB / 0.8937 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004929/1.239, allocations: 2.213 MB / 0.8958 GB, free: 8.535 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/1.24, allocations: 257.1 kB / 0.8961 GB, free: 8.277 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/1.241, allocations: 0.5576 MB / 0.8966 GB, free: 7.719 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.253, allocations: 5.916 MB / 0.9024 GB, free: 1.516 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/1.255, allocations: 115.7 kB / 0.9025 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/1.255, allocations: 143.9 kB / 0.9026 GB, free: 1.262 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.0008739/1.256, allocations: 410.5 kB / 0.903 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/1.257, allocations: 303.3 kB / 0.9033 GB, free: 0.5469 MB / 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.004664/1.262, allocations: 2.233 MB / 0.9055 GB, free: 14.34 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.263049392029643] Failed to read output from testmodel.py, exit status != 0: 1.4556650839513168 1.470555005 0.580904698 Calling exit ...