Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01071/0.01071, allocations: 1.747 MB / 21.35 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.00147/0.00147, allocations: 102.8 kB / 24.93 MB, free: 2.051 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.001883/0.001883, allocations: 209.7 kB / 28.65 MB, free: 3.34 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.572/1.572, allocations: 230.6 MB / 262.8 MB, free: 5.836 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.212/1.212, allocations: 130.7 MB / 450.4 MB, free: 6.426 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.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_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_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.0696/0.0696, allocations: 20.99 MB / 0.6371 GB, free: 4.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2998, allocations: 81.9 MB / 0.7171 GB, free: 2.199 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.6808/0.9806, allocations: 44.82 MB / 0.7608 GB, free: 21.14 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03753/1.018, allocations: 17.53 MB / 0.778 GB, free: 9.027 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006435/1.025, allocations: 55.66 kB / 0.778 GB, free: 9.004 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.006002/1.031, allocations: 1.3 MB / 0.7793 GB, free: 8.438 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00713/1.038, allocations: 1.495 MB / 0.7807 GB, free: 7.594 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008023/1.046, allocations: 2.087 MB / 0.7828 GB, free: 6.551 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.008005/1.054, allocations: 3.418 MB / 0.7861 GB, free: 4.906 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/1.057, allocations: 1.158 MB / 0.7872 GB, free: 4.211 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004346/1.061, allocations: 1.425 MB / 0.7886 GB, free: 3.379 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/1.065, allocations: 1.566 MB / 0.7902 GB, free: 2.422 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001339/1.066, allocations: 249.7 kB / 0.7904 GB, free: 2.422 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005779/1.072, allocations: 1.687 MB / 0.7921 GB, free: 1.613 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001483/1.074, allocations: 0.8064 MB / 0.7928 GB, free: 1.008 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00265/1.076, allocations: 1.089 MB / 0.7939 GB, free: 268 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/1.087, allocations: 4.898 MB / 0.7987 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.087, allocations: 0 / 0.7987 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.414e-06/1.087, allocations: 3.5 kB / 0.7987 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001378/1.088, allocations: 0 / 0.7987 GB, free: 12.99 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.009814/1.097, allocations: 3.933 MB / 0.8025 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.097, allocations: 6.344 kB / 0.8025 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/1.099, allocations: 410 kB / 0.8029 GB, free: 9.938 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006739/1.106, allocations: 2.848 MB / 0.8057 GB, free: 7.27 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/1.106, allocations: 119.3 kB / 0.8058 GB, free: 7.152 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002739/1.106, allocations: 156.1 kB / 0.806 GB, free: 7 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006247/1.112, allocations: 2.862 MB / 0.8088 GB, free: 3.773 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.658e-05/1.112, allocations: 11.88 kB / 0.8088 GB, free: 3.762 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/1.113, allocations: 72 kB / 0.8088 GB, free: 3.691 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-05/1.113, allocations: 43.94 kB / 0.8089 GB, free: 3.648 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005298/1.118, allocations: 1.972 MB / 0.8108 GB, free: 1.66 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01598/1.134, allocations: 10.71 MB / 0.8213 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005416/1.139, allocations: 1.784 MB / 0.823 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/1.141, allocations: 0.7238 MB / 0.8237 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/1.141, allocations: 80.89 kB / 0.8238 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00395/1.145, allocations: 1.532 MB / 0.8253 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.218e-06/1.145, allocations: 0 / 0.8253 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02872/1.174, allocations: 13.31 MB / 0.8383 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004653/1.174, allocations: 0.6423 MB / 0.8389 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/1.178, allocations: 2.366 MB / 0.8412 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004631/1.179, allocations: 53.7 kB / 0.8413 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001165/1.18, allocations: 1.124 MB / 0.8424 GB, free: 452 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.181, allocations: 0.7747 MB / 0.8431 GB, free: 15.66 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009023/1.182, allocations: 0.501 MB / 0.8436 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001604/1.182, allocations: 304.9 kB / 0.8439 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/1.184, allocations: 0.8482 MB / 0.8447 GB, free: 13.99 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/1.186, allocations: 1.617 MB / 0.8463 GB, free: 12.03 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1094/1.296, allocations: 15.02 MB / 0.861 GB, free: 13.5 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/1.296, allocations: 8 kB / 0.861 GB, free: 13.5 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007982/1.304, allocations: 3.137 MB / 0.8641 GB, free: 10.32 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.304, allocations: 80.17 kB / 0.8641 GB, free: 10.23 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005513/1.309, allocations: 2.305 MB / 0.8664 GB, free: 7.902 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/1.311, allocations: 270.4 kB / 0.8666 GB, free: 7.629 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/1.313, allocations: 0.5498 MB / 0.8672 GB, free: 7.078 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.325, allocations: 6.109 MB / 0.8731 GB, free: 0.6719 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/1.328, allocations: 119.7 kB / 0.8733 GB, free: 0.5547 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004208/1.328, allocations: 143.9 kB / 0.8734 GB, free: 424 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.003219/1.332, allocations: 1.329 MB / 0.8747 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002591/1.334, allocations: 1.605 MB / 0.8763 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1171/1.451, allocations: 14.97 MB / 0.8909 GB, free: 13.84 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.419e-05/1.451, allocations: 10.73 kB / 0.8909 GB, free: 13.83 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.0115/1.463, allocations: 3.055 MB / 0.8939 GB, free: 10.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.463, allocations: 79.39 kB / 0.894 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008161/1.471, allocations: 2.214 MB / 0.8961 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/1.473, allocations: 254.4 kB / 0.8964 GB, free: 8.148 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/1.476, allocations: 0.5615 MB / 0.8969 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/1.489, allocations: 5.913 MB / 0.9027 GB, free: 1.387 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/1.492, allocations: 123.7 kB / 0.9028 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/1.492, allocations: 143.9 kB / 0.9029 GB, free: 1.125 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.0009296/1.493, allocations: 404.7 kB / 0.9033 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006285/1.494, allocations: 294.1 kB / 0.9036 GB, free: 432 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.004778/1.498, allocations: 2.263 MB / 0.9058 GB, free: 14.18 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.768726479727775] Failed to read output from testmodel.py, exit status != 0: 1.7116315006278455 1.726812717 0.635968463 Calling exit ...