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.01499/0.01499, allocations: 1.757 MB / 21.34 MB, free: 0.5898 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.001623/0.001623, allocations: 105.2 kB / 24.94 MB, free: 2.16 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.00247/0.00247, allocations: 205.2 kB / 28.67 MB, free: 3.438 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.564/1.564, allocations: 230.6 MB / 262.8 MB, free: 6.027 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.194/1.194, allocations: 130.7 MB / 450.4 MB, free: 6.613 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.03685/0.03685, allocations: 20.79 MB / 0.637 GB, free: 4.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2597, allocations: 81.91 MB / 0.717 GB, free: 2.645 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.6377/0.8974, allocations: 46.04 MB / 0.7619 GB, free: 20.24 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03224/0.9296, allocations: 18.42 MB / 0.7799 GB, free: 7.172 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004994/0.9346, allocations: 60.66 kB / 0.78 GB, free: 7.145 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.005356/0.94, allocations: 1.365 MB / 0.7813 GB, free: 6.523 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006261/0.9463, allocations: 1.492 MB / 0.7828 GB, free: 5.676 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006937/0.9532, allocations: 2.092 MB / 0.7848 GB, free: 4.637 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007241/0.9604, allocations: 3.424 MB / 0.7881 GB, free: 2.988 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.9633, allocations: 1.102 MB / 0.7892 GB, free: 2.406 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.9669, allocations: 1.419 MB / 0.7906 GB, free: 1.578 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.9706, allocations: 1.684 MB / 0.7922 GB, free: 0.5078 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.9719, allocations: 249.5 kB / 0.7925 GB, free: 0.5078 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006781/0.9787, allocations: 2.331 MB / 0.7948 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001791/0.9805, allocations: 0.8083 MB / 0.7956 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003689/0.9842, allocations: 1.403 MB / 0.7969 GB, free: 13.56 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.9976, allocations: 5.014 MB / 0.8018 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.9976, allocations: 2.594 kB / 0.8018 GB, free: 10.17 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9976, allocations: 5.312 kB / 0.8018 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0002022/0.9978, allocations: 0 / 0.8018 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.01285/1.011, allocations: 3.938 MB / 0.8057 GB, free: 7.328 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/1.011, allocations: 9.312 kB / 0.8057 GB, free: 7.328 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/1.013, allocations: 404.6 kB / 0.8061 GB, free: 7.109 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00775/1.02, allocations: 2.853 MB / 0.8089 GB, free: 4.562 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/1.02, allocations: 111.3 kB / 0.809 GB, free: 4.453 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005565/1.021, allocations: 160.1 kB / 0.8091 GB, free: 4.297 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007603/1.029, allocations: 2.572 MB / 0.8116 GB, free: 1.453 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.588e-05/1.029, allocations: 15.88 kB / 0.8116 GB, free: 1.438 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/1.029, allocations: 71.19 kB / 0.8117 GB, free: 1.371 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/1.029, allocations: 44 kB / 0.8117 GB, free: 1.328 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006121/1.035, allocations: 1.922 MB / 0.8136 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01817/1.053, allocations: 11.53 MB / 0.8249 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/1.059, allocations: 1.719 MB / 0.8266 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/1.061, allocations: 0.6648 MB / 0.8272 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/1.061, allocations: 91.48 kB / 0.8273 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004526/1.066, allocations: 1.468 MB / 0.8287 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 8.045e-06/1.066, allocations: 2.688 kB / 0.8287 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.0304/1.096, allocations: 13.18 MB / 0.8416 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000468/1.097, allocations: 0.6385 MB / 0.8422 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004149/1.101, allocations: 2.398 MB / 0.8446 GB, free: 14.88 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004569/1.101, allocations: 57.69 kB / 0.8446 GB, free: 14.82 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.102, allocations: 1.117 MB / 0.8457 GB, free: 13.69 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.103, allocations: 0.7784 MB / 0.8465 GB, free: 12.91 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008357/1.104, allocations: 0.4964 MB / 0.847 GB, free: 12.4 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001639/1.104, allocations: 311.6 kB / 0.8473 GB, free: 12.1 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.106, allocations: 0.7759 MB / 0.848 GB, free: 11.32 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/1.109, allocations: 1.493 MB / 0.8495 GB, free: 9.535 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1125/1.221, allocations: 15 MB / 0.8641 GB, free: 10.91 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.052e-05/1.221, allocations: 8 kB / 0.8641 GB, free: 10.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007964/1.229, allocations: 3.071 MB / 0.8671 GB, free: 7.809 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.733e-05/1.229, allocations: 85.56 kB / 0.8672 GB, free: 7.715 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005444/1.235, allocations: 2.208 MB / 0.8694 GB, free: 5.492 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/1.236, allocations: 274.4 kB / 0.8696 GB, free: 5.215 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/1.238, allocations: 0.5499 MB / 0.8702 GB, free: 4.664 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.251, allocations: 6.211 MB / 0.8762 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/1.254, allocations: 115.7 kB / 0.8763 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000349/1.254, allocations: 147.9 kB / 0.8765 GB, free: 13.86 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.003086/1.257, allocations: 1.258 MB / 0.8777 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002476/1.259, allocations: 1.476 MB / 0.8792 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1125/1.372, allocations: 14.95 MB / 0.8937 GB, free: 11.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.973e-05/1.372, allocations: 8 kB / 0.8938 GB, free: 11.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008699/1.381, allocations: 2.99 MB / 0.8967 GB, free: 8.516 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/1.381, allocations: 79.39 kB / 0.8968 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005237/1.386, allocations: 2.136 MB / 0.8988 GB, free: 6.273 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/1.387, allocations: 265.5 kB / 0.8991 GB, free: 6.008 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/1.389, allocations: 0.5499 MB / 0.8996 GB, free: 5.457 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/1.401, allocations: 6.028 MB / 0.9055 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.403, allocations: 107.8 kB / 0.9056 GB, free: 15 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/1.404, allocations: 149.6 kB / 0.9058 GB, free: 14.86 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.0009405/1.405, allocations: 413.1 kB / 0.9062 GB, free: 14.43 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009809/1.406, allocations: 302 kB / 0.9064 GB, free: 14.14 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.005099/1.411, allocations: 2.248 MB / 0.9086 GB, free: 11.92 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.866798177128658] Failed to read output from testmodel.py, exit status != 0: 1.638150546932593 1.660414515 0.658444547 Calling exit ...