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.01028/0.01028, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001264/0.001264, allocations: 107 kB / 24.19 MB, free: 2.652 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.001539/0.001539, allocations: 210.4 kB / 27.92 MB, free: 4 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.447/1.447, allocations: 230.6 MB / 262.1 MB, free: 6.219 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.069/1.069, allocations: 130.7 MB / 449.6 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.0353/0.0353, allocations: 20.77 MB / 0.6362 GB, free: 4.641 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.2151, allocations: 81.91 MB / 0.7162 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.511/0.7261, allocations: 46.05 MB / 0.7612 GB, free: 20.17 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.7508, allocations: 18.41 MB / 0.7792 GB, free: 7.098 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/0.754, allocations: 59.31 kB / 0.7792 GB, free: 7.07 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.004139/0.7582, allocations: 1.366 MB / 0.7806 GB, free: 6.453 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.7633, allocations: 1.49 MB / 0.782 GB, free: 5.605 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00622/0.7695, allocations: 2.089 MB / 0.7841 GB, free: 4.566 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.00607/0.7756, allocations: 3.429 MB / 0.7874 GB, free: 2.914 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.778, allocations: 1.1 MB / 0.7885 GB, free: 2.344 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.7811, allocations: 1.424 MB / 0.7899 GB, free: 1.512 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.7842, allocations: 1.677 MB / 0.7915 GB, free: 460 kB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0009569/0.7851, allocations: 249.8 kB / 0.7917 GB, free: 460 kB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00585/0.791, allocations: 2.33 MB / 0.794 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.7925, allocations: 0.8082 MB / 0.7948 GB, free: 14.55 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.7956, allocations: 1.406 MB / 0.7962 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.8067, allocations: 5.014 MB / 0.8011 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8067, allocations: 0 / 0.8011 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8067, allocations: 0 / 0.8011 GB, free: 10.1 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001797/0.8069, allocations: 0 / 0.8011 GB, free: 10.1 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.01095/0.8178, allocations: 3.937 MB / 0.8049 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.8179, allocations: 11.5 kB / 0.8049 GB, free: 7.266 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.8195, allocations: 408.8 kB / 0.8053 GB, free: 7.047 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006741/0.8263, allocations: 2.85 MB / 0.8081 GB, free: 4.551 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.8264, allocations: 125.9 kB / 0.8082 GB, free: 4.43 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00046/0.8269, allocations: 156.1 kB / 0.8084 GB, free: 4.277 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00671/0.8336, allocations: 2.571 MB / 0.8109 GB, free: 1.434 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.664e-05/0.8337, allocations: 13 kB / 0.8109 GB, free: 1.422 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.8339, allocations: 72 kB / 0.811 GB, free: 1.352 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.8339, allocations: 44 kB / 0.811 GB, free: 1.309 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005671/0.8396, allocations: 1.914 MB / 0.8129 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.8553, allocations: 11.54 MB / 0.8241 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005126/0.8604, allocations: 1.731 MB / 0.8258 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.862, allocations: 0.6594 MB / 0.8265 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003173/0.8623, allocations: 91.45 kB / 0.8266 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004126/0.8664, allocations: 1.467 MB / 0.828 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 5.922e-06/0.8664, allocations: 0 / 0.828 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02677/0.8932, allocations: 13.18 MB / 0.8409 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003728/0.8936, allocations: 0.6411 MB / 0.8415 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004072/0.8976, allocations: 2.4 MB / 0.8438 GB, free: 14.87 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.000318/0.898, allocations: 61.62 kB / 0.8439 GB, free: 14.8 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.8991, allocations: 1.109 MB / 0.845 GB, free: 13.68 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009807/0.9, allocations: 0.7784 MB / 0.8457 GB, free: 12.89 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.9011, allocations: 0.5029 MB / 0.8462 GB, free: 12.39 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.9012, allocations: 309 kB / 0.8465 GB, free: 12.08 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.903, allocations: 0.7759 MB / 0.8473 GB, free: 11.3 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.9055, allocations: 1.493 MB / 0.8487 GB, free: 9.52 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1113/1.017, allocations: 15 MB / 0.8634 GB, free: 10.9 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/1.017, allocations: 8 kB / 0.8634 GB, free: 10.89 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00799/1.025, allocations: 3.063 MB / 0.8664 GB, free: 7.801 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/1.025, allocations: 83.38 kB / 0.8665 GB, free: 7.707 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005429/1.03, allocations: 2.215 MB / 0.8686 GB, free: 5.48 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/1.031, allocations: 274.4 kB / 0.8689 GB, free: 5.203 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.033, allocations: 0.5537 MB / 0.8694 GB, free: 4.648 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/1.046, allocations: 6.214 MB / 0.8755 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/1.048, allocations: 118.4 kB / 0.8756 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004729/1.049, allocations: 143.9 kB / 0.8758 GB, free: 13.84 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.003159/1.052, allocations: 1.262 MB / 0.877 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002522/1.054, allocations: 1.476 MB / 0.8784 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1092/1.163, allocations: 14.94 MB / 0.893 GB, free: 11.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.738e-05/1.163, allocations: 8 kB / 0.893 GB, free: 11.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007951/1.171, allocations: 2.982 MB / 0.8959 GB, free: 8.508 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.172, allocations: 83.38 kB / 0.896 GB, free: 8.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005263/1.177, allocations: 2.144 MB / 0.8981 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/1.178, allocations: 255.2 kB / 0.8984 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/1.18, allocations: 0.5537 MB / 0.8989 GB, free: 5.445 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/1.192, allocations: 6.029 MB / 0.9048 GB, free: 15.1 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.194, allocations: 111.8 kB / 0.9049 GB, free: 14.99 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005095/1.195, allocations: 147.9 kB / 0.905 GB, free: 14.84 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.001033/1.196, allocations: 410 kB / 0.9054 GB, free: 14.42 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009713/1.197, allocations: 302 kB / 0.9057 GB, free: 14.12 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.005259/1.202, allocations: 2.244 MB / 0.9079 GB, free: 11.91 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.013933036942035] Failed to read output from testmodel.py, exit status != 0: 1.3912762699183077 1.407071333 0.5970395230000001 Calling exit ...