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.01221/0.01221, allocations: 1.749 MB / 21.38 MB, free: 0.5625 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.001475/0.001475, allocations: 109.1 kB / 24.98 MB, free: 2.156 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.001809/0.001809, allocations: 203.2 kB / 28.71 MB, free: 3.441 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.391/1.391, allocations: 230.6 MB / 262.9 MB, free: 5.996 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.004/1.004, allocations: 130.7 MB / 450.4 MB, free: 6.582 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.03219/0.03219, allocations: 20.61 MB / 0.6368 GB, free: 4.758 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1935, allocations: 81.9 MB / 0.7168 GB, free: 2.773 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.5011/0.6946, allocations: 46.05 MB / 0.7618 GB, free: 20.23 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02309/0.7177, allocations: 18.42 MB / 0.7798 GB, free: 7.16 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.7205, allocations: 59.47 kB / 0.7798 GB, free: 7.133 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.004202/0.7247, allocations: 1.36 MB / 0.7812 GB, free: 6.52 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.7299, allocations: 1.495 MB / 0.7826 GB, free: 5.668 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00594/0.7358, allocations: 2.086 MB / 0.7847 GB, free: 4.629 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005679/0.7415, allocations: 3.426 MB / 0.788 GB, free: 2.98 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.7437, allocations: 1.101 MB / 0.7891 GB, free: 2.402 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002728/0.7464, allocations: 1.42 MB / 0.7905 GB, free: 1.574 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.7492, allocations: 1.678 MB / 0.7921 GB, free: 0.5078 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0008877/0.7501, allocations: 251.7 kB / 0.7923 GB, free: 0.5078 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005535/0.7556, allocations: 2.327 MB / 0.7946 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.757, allocations: 0.8117 MB / 0.7954 GB, free: 14.61 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002868/0.7599, allocations: 1.407 MB / 0.7968 GB, free: 13.55 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0097/0.7696, allocations: 5.018 MB / 0.8017 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7696, allocations: 0 / 0.8017 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.794e-06/0.7696, allocations: 0 / 0.8017 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 8.697e-05/0.7697, allocations: 0 / 0.8017 GB, free: 10.16 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.007703/0.7774, allocations: 3.945 MB / 0.8055 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.7774, allocations: 9.812 kB / 0.8055 GB, free: 7.316 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.7786, allocations: 408.8 kB / 0.8059 GB, free: 7.098 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005326/0.7839, allocations: 2.85 MB / 0.8087 GB, free: 4.633 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.784, allocations: 111.3 kB / 0.8088 GB, free: 4.523 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.7843, allocations: 166.7 kB / 0.809 GB, free: 4.363 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005554/0.7898, allocations: 2.569 MB / 0.8115 GB, free: 1.52 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/0.7899, allocations: 15.88 kB / 0.8115 GB, free: 1.504 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.79, allocations: 70.86 kB / 0.8116 GB, free: 1.438 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.7901, allocations: 44 kB / 0.8116 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005144/0.7952, allocations: 1.914 MB / 0.8135 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.8092, allocations: 11.53 MB / 0.8247 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004903/0.8141, allocations: 1.726 MB / 0.8264 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.8156, allocations: 0.6662 MB / 0.8271 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.8158, allocations: 87.55 kB / 0.8272 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003892/0.8197, allocations: 1.472 MB / 0.8286 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.629e-06/0.8197, allocations: 0 / 0.8286 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02463/0.8444, allocations: 13.17 MB / 0.8415 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003523/0.8447, allocations: 0.6411 MB / 0.8421 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003591/0.8483, allocations: 2.4 MB / 0.8444 GB, free: 14.95 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003352/0.8486, allocations: 56.36 kB / 0.8445 GB, free: 14.89 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009905/0.8496, allocations: 1.117 MB / 0.8456 GB, free: 13.77 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009125/0.8505, allocations: 0.7784 MB / 0.8463 GB, free: 12.98 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008182/0.8514, allocations: 0.4964 MB / 0.8468 GB, free: 12.48 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.8515, allocations: 305.1 kB / 0.8471 GB, free: 12.18 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.8532, allocations: 0.7862 MB / 0.8479 GB, free: 11.39 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.8556, allocations: 1.49 MB / 0.8493 GB, free: 9.605 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1083/0.9638, allocations: 15 MB / 0.864 GB, free: 10.97 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/0.9638, allocations: 8 kB / 0.864 GB, free: 10.96 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007574/0.9714, allocations: 3.07 MB / 0.867 GB, free: 7.871 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/0.9715, allocations: 79.39 kB / 0.8671 GB, free: 7.781 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00529/0.9768, allocations: 2.212 MB / 0.8692 GB, free: 5.555 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.9779, allocations: 278.5 kB / 0.8695 GB, free: 5.277 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.9798, allocations: 0.5499 MB / 0.87 GB, free: 4.727 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.9918, allocations: 6.209 MB / 0.8761 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.9939, allocations: 115.7 kB / 0.8762 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003392/0.9942, allocations: 143.9 kB / 0.8763 GB, free: 13.93 MB / 0.6544 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.002789/0.997, allocations: 1.261 MB / 0.8776 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002274/0.9993, allocations: 1.468 MB / 0.879 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1076/1.107, allocations: 14.95 MB / 0.8936 GB, free: 11.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.568e-05/1.107, allocations: 8 kB / 0.8936 GB, free: 11.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006745/1.114, allocations: 2.985 MB / 0.8965 GB, free: 8.586 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/1.114, allocations: 88.94 kB / 0.8966 GB, free: 8.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004726/1.118, allocations: 2.134 MB / 0.8987 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.119, allocations: 269.4 kB / 0.899 GB, free: 6.074 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/1.121, allocations: 0.5499 MB / 0.8995 GB, free: 5.523 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/1.132, allocations: 6.022 MB / 0.9054 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.134, allocations: 111.8 kB / 0.9055 GB, free: 15.07 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/1.135, allocations: 147.9 kB / 0.9056 GB, free: 14.93 MB / 0.6857 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.0007354/1.135, allocations: 419.9 kB / 0.906 GB, free: 14.5 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006181/1.136, allocations: 306 kB / 0.9063 GB, free: 14.2 MB / 0.6857 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.004377/1.14, allocations: 2.245 MB / 0.9085 GB, free: 11.98 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.839651028974913] Failed to read output from testmodel.py, exit status != 0: 1.3111127100419253 1.325895804 0.553042405 Calling exit ...