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.01529/0.01529, 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.001627/0.001627, 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.00227/0.00227, allocations: 207.9 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.516/1.516, allocations: 230.6 MB / 262.1 MB, free: 5.992 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.1/1.1, allocations: 130.7 MB / 449.7 MB, free: 6.562 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.03247/0.03247, allocations: 20.78 MB / 0.6357 GB, free: 5.242 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.2107, allocations: 81.91 MB / 0.7157 GB, free: 3.234 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.5131/0.7238, allocations: 46.03 MB / 0.7607 GB, free: 20.34 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02798/0.7518, allocations: 18.41 MB / 0.7787 GB, free: 7.27 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004845/0.7566, allocations: 55.81 kB / 0.7787 GB, free: 7.246 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.006238/0.7629, allocations: 1.362 MB / 0.78 GB, free: 6.633 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00754/0.7704, allocations: 1.488 MB / 0.7815 GB, free: 5.789 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.009169/0.7796, allocations: 2.083 MB / 0.7835 GB, free: 4.754 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.009554/0.7891, allocations: 3.429 MB / 0.7869 GB, free: 3.102 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.7922, allocations: 1.1 MB / 0.788 GB, free: 2.566 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00372/0.7959, allocations: 1.423 MB / 0.7893 GB, free: 1.734 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003901/0.7998, allocations: 1.673 MB / 0.791 GB, free: 0.6719 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.8008, allocations: 250.9 kB / 0.7912 GB, free: 0.6719 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007789/0.8086, allocations: 2.332 MB / 0.7935 GB, free: 15.39 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.8105, allocations: 0.8188 MB / 0.7943 GB, free: 14.77 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 0.004023/0.8145, allocations: 1.404 MB / 0.7957 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.8293, allocations: 5.023 MB / 0.8006 GB, free: 10.31 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8293, allocations: 1.344 kB / 0.8006 GB, free: 10.31 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8293, allocations: 2.656 kB / 0.8006 GB, free: 10.31 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001944/0.8295, allocations: 0 / 0.8006 GB, free: 10.31 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.01135/0.8408, allocations: 3.945 MB / 0.8044 GB, free: 7.465 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8409, allocations: 12.25 kB / 0.8044 GB, free: 7.465 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003891/0.8412, allocations: 244.4 kB / 0.8047 GB, free: 7.273 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.8427, allocations: 408.4 kB / 0.8051 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006572/0.8493, allocations: 2.848 MB / 0.8078 GB, free: 4.656 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.8494, allocations: 115.3 kB / 0.808 GB, free: 4.543 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.8497, allocations: 155.9 kB / 0.8081 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005988/0.8557, allocations: 2.576 MB / 0.8106 GB, free: 1.543 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.8557, allocations: 11.88 kB / 0.8106 GB, free: 1.531 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.8559, allocations: 72 kB / 0.8107 GB, free: 1.461 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.016e-05/0.8559, allocations: 44 kB / 0.8107 GB, free: 1.418 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005329/0.8613, allocations: 1.918 MB / 0.8126 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.8769, allocations: 11.54 MB / 0.8239 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005109/0.882, allocations: 1.723 MB / 0.8256 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.8836, allocations: 0.6736 MB / 0.8262 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.8839, allocations: 80.88 kB / 0.8263 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003985/0.8879, allocations: 1.471 MB / 0.8277 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=225): time 4.499e-06/0.8879, allocations: 0 / 0.8277 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=229): time 0.02609/0.914, allocations: 13.18 MB / 0.8406 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004273/0.9144, allocations: 0.645 MB / 0.8412 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/0.9184, allocations: 2.4 MB / 0.8436 GB, free: 14.96 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0003695/0.9188, allocations: 53.7 kB / 0.8436 GB, free: 14.9 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.9199, allocations: 1.113 MB / 0.8447 GB, free: 13.78 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000969/0.9208, allocations: 0.7771 MB / 0.8455 GB, free: 13 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008351/0.9217, allocations: 0.5003 MB / 0.846 GB, free: 12.49 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9218, allocations: 305.1 kB / 0.8463 GB, free: 12.19 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.9237, allocations: 0.7785 MB / 0.847 GB, free: 11.41 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.9262, allocations: 1.494 MB / 0.8485 GB, free: 9.625 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1168/1.043, allocations: 14.99 MB / 0.8631 GB, free: 10.99 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/1.043, allocations: 8 kB / 0.8631 GB, free: 10.98 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008139/1.051, allocations: 3.075 MB / 0.8661 GB, free: 7.883 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/1.051, allocations: 79.58 kB / 0.8662 GB, free: 7.793 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005526/1.057, allocations: 2.217 MB / 0.8684 GB, free: 5.562 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/1.058, allocations: 277.7 kB / 0.8686 GB, free: 5.285 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/1.06, allocations: 0.5498 MB / 0.8692 GB, free: 4.734 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.073, allocations: 6.219 MB / 0.8752 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.076, allocations: 122.3 kB / 0.8754 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003485/1.076, allocations: 147.9 kB / 0.8755 GB, free: 13.92 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.003143/1.079, allocations: 1.251 MB / 0.8767 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00251/1.082, allocations: 1.476 MB / 0.8782 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1176/1.199, allocations: 14.94 MB / 0.8928 GB, free: 11.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.915e-05/1.199, allocations: 8 kB / 0.8928 GB, free: 11.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007812/1.207, allocations: 2.987 MB / 0.8957 GB, free: 8.586 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/1.207, allocations: 88.2 kB / 0.8958 GB, free: 8.488 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005135/1.212, allocations: 2.136 MB / 0.8978 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/1.214, allocations: 254.3 kB / 0.8981 GB, free: 6.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.215, allocations: 0.5499 MB / 0.8986 GB, free: 5.531 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.227, allocations: 6.026 MB / 0.9045 GB, free: 15.19 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/1.23, allocations: 111.8 kB / 0.9046 GB, free: 15.08 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000329/1.23, allocations: 147.9 kB / 0.9048 GB, free: 14.93 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.0008555/1.231, allocations: 418.3 kB / 0.9052 GB, free: 14.5 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007114/1.232, allocations: 302 kB / 0.9054 GB, free: 14.21 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.004824/1.236, allocations: 2.237 MB / 0.9076 GB, free: 12 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.169192183995619] Failed to read output from testmodel.py, exit status != 0: 1.4249374610371888 1.441547939 0.608712858 Calling exit ...