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.01337/0.01337, allocations: 1.77 MB / 18.12 MB, free: 4.906 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.001458/0.001458, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001557/0.001557, allocations: 213.1 kB / 24.75 MB, free: 3.691 MB / 14.72 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.568/1.568, allocations: 230.6 MB / 258.5 MB, free: 13.07 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.123/1.123, allocations: 130.6 MB / 445.6 MB, free: 14.66 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4622/0.4622, allocations: 46.15 MB / 0.6545 GB, free: 30.61 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.6799, allocations: 89.05 MB / 0.7414 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.01899/0.6989, allocations: 13.05 MB / 0.7542 GB, free: 5.512 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03128/0.7302, allocations: 18.11 MB / 0.7719 GB, free: 3.344 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.7331, allocations: 59.56 kB / 0.7719 GB, free: 3.285 MB / 0.5763 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.004313/0.7374, allocations: 1.341 MB / 0.7732 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.005144/0.7426, allocations: 1.457 MB / 0.7747 GB, free: 484 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00642/0.749, allocations: 2.025 MB / 0.7766 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006779/0.7558, allocations: 3.417 MB / 0.78 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.7579, allocations: 1.117 MB / 0.7811 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002944/0.7609, allocations: 1.42 MB / 0.7825 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003308/0.7642, allocations: 1.679 MB / 0.7841 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006715/0.7649, allocations: 248 kB / 0.7843 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004876/0.7697, allocations: 2.167 MB / 0.7864 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.7708, allocations: 0.8095 MB / 0.7872 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.7726, allocations: 1.402 MB / 0.7886 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009171/0.7818, allocations: 4.985 MB / 0.7935 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7818, allocations: 0 / 0.7935 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7818, allocations: 4 kB / 0.7935 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001127/0.7819, allocations: 0 / 0.7935 GB, free: 13.13 MB / 0.6075 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.008281/0.7902, allocations: 3.68 MB / 0.7971 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.7902, allocations: 12.03 kB / 0.7971 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003461/0.7906, allocations: 241.8 kB / 0.7973 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.7918, allocations: 406.6 kB / 0.7977 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005863/0.7977, allocations: 2.961 MB / 0.8006 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.7978, allocations: 115.3 kB / 0.8007 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002815/0.7981, allocations: 159.9 kB / 0.8009 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006069/0.8042, allocations: 2.57 MB / 0.8034 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/0.8042, allocations: 15.88 kB / 0.8034 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/0.8044, allocations: 68 kB / 0.8034 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.8044, allocations: 44 kB / 0.8035 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00545/0.8099, allocations: 1.917 MB / 0.8054 GB, free: 496 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/0.8254, allocations: 11.64 MB / 0.8167 GB, free: 4.418 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005431/0.8308, allocations: 1.951 MB / 0.8186 GB, free: 2.309 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001674/0.8325, allocations: 0.6669 MB / 0.8193 GB, free: 1.609 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.8329, allocations: 165.9 kB / 0.8194 GB, free: 1.43 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004215/0.8371, allocations: 1.471 MB / 0.8209 GB, free: 15.88 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=225): time 4.228e-06/0.8371, allocations: 0 / 0.8209 GB, free: 15.88 MB / 0.6388 GB Notification: Performance of matching and sorting (n=229): time 0.02712/0.8642, allocations: 13.41 MB / 0.834 GB, free: 2.258 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004198/0.8646, allocations: 0.6389 MB / 0.8346 GB, free: 1.469 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/0.8686, allocations: 2.407 MB / 0.837 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003792/0.869, allocations: 54.27 kB / 0.837 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.87, allocations: 1.113 MB / 0.8381 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009997/0.871, allocations: 0.7745 MB / 0.8388 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008547/0.8719, allocations: 0.4964 MB / 0.8393 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8721, allocations: 309.1 kB / 0.8396 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.874, allocations: 0.7837 MB / 0.8404 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.8765, allocations: 1.487 MB / 0.8418 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.118/0.9945, allocations: 14.99 MB / 0.8565 GB, free: 10.33 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/0.9945, allocations: 4 kB / 0.8565 GB, free: 10.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008172/1.003, allocations: 3.075 MB / 0.8595 GB, free: 7.215 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.003, allocations: 83.62 kB / 0.8596 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005746/1.009, allocations: 2.219 MB / 0.8617 GB, free: 4.879 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/1.01, allocations: 270.3 kB / 0.862 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/1.012, allocations: 0.554 MB / 0.8625 GB, free: 4.051 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.388/1.4, allocations: 6.513 MB / 0.8689 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.402, allocations: 120.6 kB / 0.869 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/1.403, allocations: 144.5 kB / 0.8691 GB, free: 115.9 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002679/1.405, allocations: 1.255 MB / 0.8704 GB, free: 115.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001886/1.407, allocations: 1.472 MB / 0.8718 GB, free: 115 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1084/1.515, allocations: 14.95 MB / 0.8864 GB, free: 113.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.433e-05/1.516, allocations: 8.125 kB / 0.8864 GB, free: 113.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007597/1.523, allocations: 2.983 MB / 0.8893 GB, free: 112.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/1.523, allocations: 85.22 kB / 0.8894 GB, free: 112.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004862/1.528, allocations: 2.142 MB / 0.8915 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/1.529, allocations: 257.3 kB / 0.8917 GB, free: 111.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/1.531, allocations: 0.5456 MB / 0.8923 GB, free: 111.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.541, allocations: 6.332 MB / 0.8985 GB, free: 106.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/1.543, allocations: 119.8 kB / 0.8986 GB, free: 106.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/1.544, allocations: 144.7 kB / 0.8987 GB, free: 106.2 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.0008497/1.545, allocations: 412.6 kB / 0.8991 GB, free: 105.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007134/1.545, allocations: 301.1 kB / 0.8994 GB, free: 105.9 MB / 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.004738/1.55, allocations: 2.242 MB / 0.9016 GB, free: 104.8 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.3240093310014345] Failed to read output from testmodel.py, exit status != 0: 1.5583364370104391 1.569742816 0.78523796 Calling exit ...