Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01244/0.01244, 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.0015/0.0015, allocations: 111.5 kB / 24.19 MB, free: 2.688 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.001891/0.001891, allocations: 207.9 kB / 27.91 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.545/1.545, allocations: 230.6 MB / 262.1 MB, free: 6.004 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.137/1.137, allocations: 130.7 MB / 449.7 MB, free: 6.547 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: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me",version="2.0",platforms={"static"}) [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.03381/0.03381, allocations: 20.79 MB / 0.6357 GB, free: 5.102 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.2204, allocations: 81.9 MB / 0.7157 GB, free: 3.102 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.6112/0.8316, allocations: 46.03 MB / 0.7607 GB, free: 20.32 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02874/0.8604, allocations: 18.42 MB / 0.7787 GB, free: 7.242 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004037/0.8644, allocations: 58.75 kB / 0.7787 GB, free: 7.215 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.00462/0.869, allocations: 1.353 MB / 0.78 GB, free: 6.605 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006042/0.8751, allocations: 1.494 MB / 0.7815 GB, free: 5.758 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006675/0.8818, allocations: 2.081 MB / 0.7835 GB, free: 4.727 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006984/0.8887, allocations: 3.431 MB / 0.7869 GB, free: 3.07 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.8915, allocations: 1.099 MB / 0.788 GB, free: 2.539 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.8953, allocations: 1.415 MB / 0.7893 GB, free: 1.715 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.8991, allocations: 1.686 MB / 0.791 GB, free: 0.6445 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.9004, allocations: 249.1 kB / 0.7912 GB, free: 0.6445 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007161/0.9076, allocations: 2.326 MB / 0.7935 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.9095, allocations: 0.823 MB / 0.7943 GB, free: 14.74 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.003896/0.9134, allocations: 1.401 MB / 0.7957 GB, free: 13.68 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.9271, allocations: 5.026 MB / 0.8006 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.9271, allocations: 6 kB / 0.8006 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9271, allocations: 2.656 kB / 0.8006 GB, free: 10.28 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.000222/0.9273, allocations: 0 / 0.8006 GB, free: 10.28 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.01345/0.9408, allocations: 3.937 MB / 0.8044 GB, free: 7.441 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.9408, allocations: 11.03 kB / 0.8044 GB, free: 7.441 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004135/0.9413, allocations: 246.7 kB / 0.8047 GB, free: 7.25 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.9428, allocations: 412.6 kB / 0.8051 GB, free: 7.023 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/0.9498, allocations: 2.844 MB / 0.8078 GB, free: 4.59 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.95, allocations: 115.3 kB / 0.808 GB, free: 4.477 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.9503, allocations: 159.9 kB / 0.8081 GB, free: 4.32 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005898/0.9562, allocations: 2.57 MB / 0.8106 GB, free: 1.477 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.9562, allocations: 11.88 kB / 0.8106 GB, free: 1.465 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.9564, allocations: 72 kB / 0.8107 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.9564, allocations: 50.64 kB / 0.8107 GB, free: 1.348 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.9616, allocations: 1.917 MB / 0.8126 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.9777, allocations: 11.54 MB / 0.8239 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005421/0.9831, allocations: 1.73 MB / 0.8256 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.9846, allocations: 0.6725 MB / 0.8262 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/0.9849, allocations: 80.88 kB / 0.8263 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003844/0.9888, allocations: 1.471 MB / 0.8277 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.067e-06/0.9888, allocations: 0 / 0.8277 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02661/1.015, allocations: 13.18 MB / 0.8406 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000377/1.016, allocations: 0.6411 MB / 0.8412 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/1.02, allocations: 2.4 MB / 0.8436 GB, free: 14.9 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/1.02, allocations: 53.7 kB / 0.8436 GB, free: 14.84 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.021, allocations: 1.113 MB / 0.8447 GB, free: 13.71 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008924/1.022, allocations: 0.7771 MB / 0.8455 GB, free: 12.93 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007803/1.023, allocations: 0.5003 MB / 0.846 GB, free: 12.43 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.023, allocations: 305.1 kB / 0.8463 GB, free: 12.12 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/1.024, allocations: 0.7863 MB / 0.847 GB, free: 11.34 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/1.027, allocations: 1.486 MB / 0.8485 GB, free: 9.559 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1073/1.134, allocations: 14.99 MB / 0.8631 GB, free: 10.93 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/1.134, allocations: 4 kB / 0.8631 GB, free: 10.92 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007618/1.142, allocations: 3.081 MB / 0.8661 GB, free: 7.816 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.142, allocations: 79.39 kB / 0.8662 GB, free: 7.727 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005078/1.147, allocations: 2.218 MB / 0.8684 GB, free: 5.496 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/1.148, allocations: 266.3 kB / 0.8686 GB, free: 5.227 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/1.15, allocations: 0.5576 MB / 0.8692 GB, free: 4.668 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.162, allocations: 6.218 MB / 0.8752 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/1.165, allocations: 123.6 kB / 0.8754 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/1.165, allocations: 143.9 kB / 0.8755 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.002908/1.168, allocations: 1.264 MB / 0.8767 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00228/1.17, allocations: 1.46 MB / 0.8782 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1244/1.295, allocations: 14.96 MB / 0.8928 GB, free: 11.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.355e-05/1.295, allocations: 11.94 kB / 0.8928 GB, free: 11.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.01069/1.305, allocations: 2.985 MB / 0.8957 GB, free: 8.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.305, allocations: 83.33 kB / 0.8958 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007236/1.313, allocations: 2.131 MB / 0.8978 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/1.314, allocations: 250.3 kB / 0.8981 GB, free: 6.027 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002983/1.317, allocations: 0.5538 MB / 0.8986 GB, free: 5.473 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/1.333, allocations: 6.031 MB / 0.9045 GB, free: 15.12 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003276/1.337, allocations: 115.8 kB / 0.9046 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/1.337, allocations: 147.9 kB / 0.9048 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.001147/1.338, allocations: 413.7 kB / 0.9052 GB, free: 14.44 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008479/1.339, allocations: 302 kB / 0.9055 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.005216/1.344, allocations: 2.247 MB / 0.9076 GB, free: 11.93 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.484933329997148] Failed to read output from testmodel.py, exit status != 0: 1.5745591150007385 1.590800531 0.660330357 Calling exit ...