Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.01035/0.01035, allocations: 1.761 MB / 20.59 MB, free: 1.285 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.001496/0.001496, allocations: 106.2 kB / 24.19 MB, free: 2.691 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.001985/0.001985, allocations: 210.7 kB / 27.92 MB, free: 4.027 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.494/1.494, allocations: 230.6 MB / 262.1 MB, free: 6 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.093/1.093, allocations: 130.7 MB / 449.6 MB, free: 6.598 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [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.03511/0.03511, allocations: 20.79 MB / 0.6362 GB, free: 4.625 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.2136, allocations: 81.89 MB / 0.7162 GB, free: 2.652 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.593/0.8066, allocations: 46.03 MB / 0.7611 GB, free: 20.22 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03238/0.8389, allocations: 18.42 MB / 0.7791 GB, free: 7.141 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004293/0.8432, allocations: 57.81 kB / 0.7792 GB, free: 7.117 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.005475/0.8487, allocations: 1.365 MB / 0.7805 GB, free: 6.496 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00733/0.856, allocations: 1.486 MB / 0.782 GB, free: 5.652 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.007867/0.8639, allocations: 2.094 MB / 0.784 GB, free: 4.617 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007865/0.8718, allocations: 3.42 MB / 0.7874 GB, free: 2.973 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.8743, allocations: 1.106 MB / 0.7884 GB, free: 2.375 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.8775, allocations: 1.422 MB / 0.7898 GB, free: 1.543 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003678/0.8812, allocations: 1.683 MB / 0.7915 GB, free: 484 kB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0008381/0.882, allocations: 252.4 kB / 0.7917 GB, free: 484 kB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006578/0.8886, allocations: 2.327 MB / 0.794 GB, free: 15.19 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.89, allocations: 0.8083 MB / 0.7948 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.002503/0.8925, allocations: 1.404 MB / 0.7961 GB, free: 13.52 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.907, allocations: 5.024 MB / 0.801 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.907, allocations: 0 / 0.801 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.693e-06/0.907, allocations: 3.938 kB / 0.8011 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001631/0.9072, allocations: 0 / 0.8011 GB, free: 10.12 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.01232/0.9195, allocations: 3.937 MB / 0.8049 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/0.9196, allocations: 10.12 kB / 0.8049 GB, free: 7.281 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.9211, allocations: 404.4 kB / 0.8053 GB, free: 7.062 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007039/0.9281, allocations: 2.864 MB / 0.8081 GB, free: 4.508 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.9283, allocations: 115.3 kB / 0.8082 GB, free: 4.395 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.9285, allocations: 162 kB / 0.8084 GB, free: 4.242 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00604/0.9346, allocations: 2.569 MB / 0.8109 GB, free: 1.398 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.976e-05/0.9346, allocations: 15.88 kB / 0.8109 GB, free: 1.383 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.9348, allocations: 68 kB / 0.8109 GB, free: 1.316 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.9348, allocations: 44 kB / 0.811 GB, free: 1.273 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005688/0.9405, allocations: 1.914 MB / 0.8129 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.957, allocations: 11.54 MB / 0.8241 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/0.9621, allocations: 1.717 MB / 0.8258 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.9638, allocations: 0.6697 MB / 0.8265 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003664/0.9641, allocations: 83.5 kB / 0.8265 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003945/0.9681, allocations: 1.471 MB / 0.828 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.228e-06/0.9681, allocations: 0 / 0.828 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02531/0.9934, allocations: 13.18 MB / 0.8408 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003874/0.9938, allocations: 0.6372 MB / 0.8415 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003899/0.9977, allocations: 2.407 MB / 0.8438 GB, free: 14.82 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004312/0.9981, allocations: 49.7 kB / 0.8439 GB, free: 14.77 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/0.9992, allocations: 1.121 MB / 0.845 GB, free: 13.63 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009767/1, allocations: 0.7745 MB / 0.8457 GB, free: 12.85 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007943/1.001, allocations: 0.4971 MB / 0.8462 GB, free: 12.35 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.001, allocations: 307.7 kB / 0.8465 GB, free: 12.05 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/1.003, allocations: 0.7837 MB / 0.8473 GB, free: 11.26 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/1.005, allocations: 1.485 MB / 0.8487 GB, free: 9.484 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1069/1.112, allocations: 15 MB / 0.8634 GB, free: 10.86 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-05/1.112, allocations: 8 kB / 0.8634 GB, free: 10.86 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007952/1.12, allocations: 3.071 MB / 0.8664 GB, free: 7.758 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.12, allocations: 79.39 kB / 0.8664 GB, free: 7.668 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005314/1.126, allocations: 2.222 MB / 0.8686 GB, free: 5.434 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/1.127, allocations: 268.7 kB / 0.8689 GB, free: 5.164 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002085/1.129, allocations: 0.5537 MB / 0.8694 GB, free: 4.609 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.142, allocations: 6.213 MB / 0.8755 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/1.144, allocations: 119.7 kB / 0.8756 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005083/1.145, allocations: 143.9 kB / 0.8757 GB, free: 13.8 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.003213/1.148, allocations: 1.258 MB / 0.877 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002531/1.151, allocations: 1.468 MB / 0.8784 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.108/1.259, allocations: 14.95 MB / 0.893 GB, free: 11.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.568e-05/1.259, allocations: 4 kB / 0.893 GB, free: 11.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007459/1.266, allocations: 2.993 MB / 0.8959 GB, free: 8.461 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.266, allocations: 75.58 kB / 0.896 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005025/1.271, allocations: 2.142 MB / 0.8981 GB, free: 6.219 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.272, allocations: 258.5 kB / 0.8983 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001965/1.274, allocations: 0.5563 MB / 0.8989 GB, free: 5.402 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/1.286, allocations: 6.023 MB / 0.9048 GB, free: 15.06 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/1.288, allocations: 107.8 kB / 0.9049 GB, free: 14.95 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/1.289, allocations: 148 kB / 0.905 GB, free: 14.81 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.0009304/1.29, allocations: 420.3 kB / 0.9054 GB, free: 14.38 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/1.29, allocations: 298 kB / 0.9057 GB, free: 14.09 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.004732/1.295, allocations: 2.252 MB / 0.9079 GB, free: 11.86 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.3377965680010675] Failed to read output from testmodel.py, exit status != 0: 1.4967409259988926 1.5118386289999999 0.601430496 Calling exit ...