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.01299/0.01299, allocations: 1.761 MB / 20.61 MB, free: 1.02 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.001282/0.001282, allocations: 105.3 kB / 24.18 MB, free: 2.465 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.001627/0.001627, allocations: 209.3 kB / 27.9 MB, free: 3.77 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.462/1.462, allocations: 230.6 MB / 262.1 MB, free: 5.859 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.09/1.09, allocations: 130.7 MB / 449.6 MB, free: 6.418 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.07039/0.07039, allocations: 20.98 MB / 0.6358 GB, free: 4.742 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.2536, allocations: 81.9 MB / 0.7158 GB, free: 2.734 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.5391/0.7927, allocations: 44.8 MB / 0.7596 GB, free: 21.15 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02428/0.817, allocations: 17.53 MB / 0.7767 GB, free: 9.031 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.8209, allocations: 55.66 kB / 0.7767 GB, free: 9.008 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.004251/0.8251, allocations: 1.303 MB / 0.778 GB, free: 8.438 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.8306, allocations: 1.494 MB / 0.7795 GB, free: 7.598 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006187/0.8368, allocations: 2.077 MB / 0.7815 GB, free: 6.562 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005428/0.8422, allocations: 3.421 MB / 0.7848 GB, free: 4.918 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.844, allocations: 1.162 MB / 0.786 GB, free: 4.309 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.846, allocations: 1.421 MB / 0.7874 GB, free: 3.48 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.8479, allocations: 1.564 MB / 0.7889 GB, free: 2.523 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004012/0.8483, allocations: 249.4 kB / 0.7891 GB, free: 2.523 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003786/0.8521, allocations: 1.687 MB / 0.7908 GB, free: 1.715 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006122/0.8527, allocations: 0.808 MB / 0.7916 GB, free: 1.105 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0009424/0.8537, allocations: 1.088 MB / 0.7926 GB, free: 372 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007488/0.8612, allocations: 4.911 MB / 0.7974 GB, free: 13.08 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8612, allocations: 2.156 kB / 0.7974 GB, free: 13.08 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8612, allocations: 1.375 kB / 0.7974 GB, free: 13.08 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.812e-05/0.8612, allocations: 0 / 0.7974 GB, free: 13.08 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.007683/0.8689, allocations: 3.929 MB / 0.8013 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.869, allocations: 14.33 kB / 0.8013 GB, free: 10.25 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003019/0.8693, allocations: 239.2 kB / 0.8015 GB, free: 10.06 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.8704, allocations: 411.5 kB / 0.8019 GB, free: 9.836 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005461/0.8759, allocations: 2.853 MB / 0.8047 GB, free: 7.336 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.876, allocations: 111.3 kB / 0.8048 GB, free: 7.227 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.8762, allocations: 162.5 kB / 0.805 GB, free: 7.07 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005668/0.8819, allocations: 2.86 MB / 0.8077 GB, free: 3.844 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/0.8819, allocations: 11.88 kB / 0.8078 GB, free: 3.832 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/0.8821, allocations: 75.98 kB / 0.8078 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/0.8821, allocations: 40 kB / 0.8079 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004944/0.8871, allocations: 1.968 MB / 0.8098 GB, free: 1.734 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.9017, allocations: 10.93 MB / 0.8205 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.9068, allocations: 1.771 MB / 0.8222 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.9083, allocations: 0.7316 MB / 0.8229 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.9085, allocations: 76.91 kB / 0.823 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003813/0.9124, allocations: 1.538 MB / 0.8245 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.799e-06/0.9124, allocations: 0 / 0.8245 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02556/0.9379, allocations: 13.32 MB / 0.8375 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004616/0.9384, allocations: 0.6423 MB / 0.8381 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004046/0.9424, allocations: 2.437 MB / 0.8405 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000341/0.9428, allocations: 53.7 kB / 0.8406 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.9439, allocations: 1.117 MB / 0.8416 GB, free: 208 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008914/0.9448, allocations: 0.7747 MB / 0.8424 GB, free: 15.42 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007967/0.9456, allocations: 0.4933 MB / 0.8429 GB, free: 14.92 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9458, allocations: 309.1 kB / 0.8432 GB, free: 14.61 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.9477, allocations: 0.8482 MB / 0.844 GB, free: 13.75 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0028/0.9505, allocations: 1.617 MB / 0.8456 GB, free: 11.79 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1106/1.061, allocations: 15.01 MB / 0.8602 GB, free: 13.25 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/1.061, allocations: 4 kB / 0.8602 GB, free: 13.25 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009023/1.07, allocations: 3.146 MB / 0.8633 GB, free: 10.07 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/1.07, allocations: 83.38 kB / 0.8634 GB, free: 9.973 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005782/1.076, allocations: 2.305 MB / 0.8656 GB, free: 7.645 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.077, allocations: 262.4 kB / 0.8659 GB, free: 7.379 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/1.079, allocations: 0.5615 MB / 0.8664 GB, free: 6.816 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.092, allocations: 6.164 MB / 0.8725 GB, free: 324 kB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.094, allocations: 119.8 kB / 0.8726 GB, free: 204 kB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005378/1.095, allocations: 147.9 kB / 0.8727 GB, free: 56 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.003607/1.099, allocations: 1.321 MB / 0.874 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002832/1.101, allocations: 1.617 MB / 0.8756 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1089/1.21, allocations: 14.96 MB / 0.8902 GB, free: 13.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.302e-05/1.21, allocations: 8 kB / 0.8902 GB, free: 13.47 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.008133/1.219, allocations: 3.073 MB / 0.8932 GB, free: 10.36 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/1.219, allocations: 79.33 kB / 0.8933 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005257/1.224, allocations: 2.21 MB / 0.8954 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/1.225, allocations: 256.2 kB / 0.8957 GB, free: 7.781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/1.227, allocations: 0.5537 MB / 0.8962 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/1.239, allocations: 5.986 MB / 0.9021 GB, free: 0.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/1.241, allocations: 111.9 kB / 0.9022 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004644/1.241, allocations: 147.9 kB / 0.9023 GB, free: 0.6641 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.0009735/1.242, allocations: 414.1 kB / 0.9027 GB, free: 248 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009768/1.243, allocations: 306.2 kB / 0.903 GB, free: 15.94 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.004989/1.248, allocations: 2.267 MB / 0.9052 GB, free: 13.7 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.235841621179134] Failed to read output from testmodel.py, exit status != 0: 1.4434919469058514 1.460558446 0.596142811 Calling exit ...