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.006092/0.006092, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0007165/0.0007165, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0008176/0.0008176, allocations: 164.1 kB / 27.85 MB, free: 5.496 MB / 18.57 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 0.8661/0.8661, allocations: 177.2 MB / 208.6 MB, free: 2.949 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7432/0.7432, allocations: 102.5 MB / 367.9 MB, free: 1.5 MB / 330.8 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.5.2 (/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: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 4.625 kB / 0.5362 GB, free: 40.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/2.051e-05, allocations: 4.938 kB / 0.5362 GB, free: 40.07 MB / 490.8 MB 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.1172/0.1172, allocations: 58.4 MB / 0.5932 GB, free: 2.148 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02104/0.1383, allocations: 17.24 MB / 0.6101 GB, free: 0.8438 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.1397, allocations: 59.62 kB / 0.6101 GB, free: 0.7852 MB / 0.4949 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.002531/0.1422, allocations: 1.305 MB / 0.6114 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.1444, allocations: 1.534 MB / 0.6129 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003788/0.1482, allocations: 2.111 MB / 0.6149 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002424/0.1506, allocations: 3.522 MB / 0.6184 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009596/0.1516, allocations: 1.171 MB / 0.6195 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.153, allocations: 1.909 MB / 0.6214 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1541, allocations: 1.374 MB / 0.6227 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002208/0.1543, allocations: 248 kB / 0.623 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/0.1567, allocations: 1.707 MB / 0.6246 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004726/0.1571, allocations: 0.8212 MB / 0.6254 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000597/0.1577, allocations: 0.8607 MB / 0.6263 GB, free: 152 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.1614, allocations: 4.922 MB / 0.6311 GB, free: 11.21 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1614, allocations: 3.938 kB / 0.6311 GB, free: 11.21 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.214e-06/0.1614, allocations: 0 / 0.6311 GB, free: 11.21 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.1614, allocations: 0 / 0.6311 GB, free: 11.21 MB / 0.5262 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.003941/0.1653, allocations: 3.903 MB / 0.6349 GB, free: 7.23 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1654, allocations: 12.03 kB / 0.6349 GB, free: 7.219 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.1656, allocations: 241.8 kB / 0.6351 GB, free: 6.973 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006389/0.1662, allocations: 410.5 kB / 0.6355 GB, free: 6.57 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.1693, allocations: 2.849 MB / 0.6383 GB, free: 3.656 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/0.1694, allocations: 119.2 kB / 0.6384 GB, free: 3.539 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.1696, allocations: 148.3 kB / 0.6386 GB, free: 3.395 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.1731, allocations: 2.866 MB / 0.6414 GB, free: 160 kB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.1731, allocations: 11.88 kB / 0.6414 GB, free: 148 kB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.1732, allocations: 75.94 kB / 0.6415 GB, free: 72 kB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/0.1733, allocations: 44 kB / 0.6415 GB, free: 28 kB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.1762, allocations: 1.963 MB / 0.6434 GB, free: 14.04 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007809/0.184, allocations: 10.88 MB / 0.654 GB, free: 2.789 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.1866, allocations: 1.797 MB / 0.6558 GB, free: 0.875 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008218/0.1874, allocations: 0.7213 MB / 0.6565 GB, free: 112 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.1876, allocations: 84.78 kB / 0.6566 GB, free: 28 kB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002112/0.1897, allocations: 1.529 MB / 0.6581 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 3.937e-06/0.1897, allocations: 0 / 0.6581 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01456/0.2043, allocations: 13.31 MB / 0.6711 GB, free: 0.9141 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002649/0.2045, allocations: 0.6385 MB / 0.6717 GB, free: 128 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002729/0.2073, allocations: 2.434 MB / 0.6741 GB, free: 13.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.2074, allocations: 57.7 kB / 0.6741 GB, free: 13.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/0.2081, allocations: 1.109 MB / 0.6752 GB, free: 12.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004924/0.2086, allocations: 0.7706 MB / 0.676 GB, free: 11.71 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006254/0.2092, allocations: 0.4886 MB / 0.6764 GB, free: 11.21 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2093, allocations: 305.5 kB / 0.6767 GB, free: 10.91 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.2104, allocations: 0.8573 MB / 0.6776 GB, free: 10.04 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.2119, allocations: 1.617 MB / 0.6792 GB, free: 8.082 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05084/0.2627, allocations: 15.03 MB / 0.6938 GB, free: 8.688 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/0.2627, allocations: 8 kB / 0.6938 GB, free: 8.68 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004602/0.2673, allocations: 3.148 MB / 0.6969 GB, free: 5.488 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.294e-05/0.2674, allocations: 83.39 kB / 0.697 GB, free: 5.395 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003086/0.2705, allocations: 2.293 MB / 0.6992 GB, free: 3.066 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.2711, allocations: 266.4 kB / 0.6995 GB, free: 2.797 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/0.2721, allocations: 0.5499 MB / 0.7 GB, free: 2.246 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006616/0.2787, allocations: 6.162 MB / 0.706 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.2799, allocations: 115.7 kB / 0.7061 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.2801, allocations: 147.9 kB / 0.7063 GB, free: 11.48 MB / 0.6043 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.001965/0.282, allocations: 1.324 MB / 0.7076 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001429/0.2834, allocations: 1.601 MB / 0.7091 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04924/0.3327, allocations: 14.98 MB / 0.7238 GB, free: 8.855 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.645e-05/0.3327, allocations: 8 kB / 0.7238 GB, free: 8.848 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004387/0.3371, allocations: 3.07 MB / 0.7268 GB, free: 5.734 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.3371, allocations: 80.95 kB / 0.7269 GB, free: 5.645 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002718/0.3399, allocations: 2.211 MB / 0.729 GB, free: 3.398 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005212/0.3404, allocations: 262.3 kB / 0.7293 GB, free: 3.133 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/0.3413, allocations: 0.5538 MB / 0.7298 GB, free: 2.578 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00585/0.3472, allocations: 5.976 MB / 0.7356 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.3483, allocations: 111.8 kB / 0.7357 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.3484, allocations: 144.3 kB / 0.7359 GB, free: 12.01 MB / 0.6355 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.0005722/0.349, allocations: 409 kB / 0.7363 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.3493, allocations: 306 kB / 0.7366 GB, free: 11.29 MB / 0.6355 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.002652/0.352, allocations: 2.267 MB / 0.7388 GB, free: 8.98 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4134591426700354] Failed to read output from testmodel.py, exit status != 0: 0.7169431345537305 0.7237823 0.560910185 Calling exit ...