Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.009981/0.009981, allocations: 1.772 MB / 20.62 MB, free: 3.859 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.08416/0.08416, allocations: 25.61 MB / 49.71 MB, free: 2.977 MB / 33.03 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.0008928/0.0008928, allocations: 118.1 kB / 60.65 MB, free: 3.027 MB / 44.04 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.001194/0.001194, allocations: 212.1 kB / 71.72 MB, free: 6.48 MB / 44.04 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.9453/0.9453, allocations: 230.6 MB / 313.3 MB, free: 11.75 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.7953/0.7953, allocations: 130.8 MB / 0.4964 GB, free: 2.328 MB / 362.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-main/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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="me_cs",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: 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: 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: Performance of FrontEnd - loaded program: time 0.002709/0.002709, allocations: 154.4 kB / 0.6901 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1619, allocations: 89.27 MB / 0.7773 GB, free: 3.051 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.009801/0.1717, allocations: 11.81 MB / 0.7888 GB, free: 7.184 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.1897, allocations: 17.52 MB / 0.806 GB, free: 5.605 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.1908, allocations: 59.56 kB / 0.806 GB, free: 5.547 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/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.0022/0.193, allocations: 1.295 MB / 0.8073 GB, free: 4.246 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.1948, allocations: 1.496 MB / 0.8087 GB, free: 2.742 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.198, allocations: 2.083 MB / 0.8108 GB, free: 0.6641 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.2005, allocations: 3.422 MB / 0.8141 GB, free: 13.23 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.2017, allocations: 1.164 MB / 0.8153 GB, free: 12.04 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.2029, allocations: 1.42 MB / 0.8166 GB, free: 10.61 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.2043, allocations: 1.569 MB / 0.8182 GB, free: 9.035 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003246/0.2047, allocations: 252 kB / 0.8184 GB, free: 8.789 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.2068, allocations: 1.679 MB / 0.82 GB, free: 7.109 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004578/0.2073, allocations: 0.8134 MB / 0.8208 GB, free: 6.293 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.0007/0.208, allocations: 1.084 MB / 0.8219 GB, free: 5.203 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.2117, allocations: 4.911 MB / 0.8267 GB, free: 280 kB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2117, allocations: 3.938 kB / 0.8267 GB, free: 276 kB / 0.5887 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2117, allocations: 4 kB / 0.8267 GB, free: 272 kB / 0.5887 GB Notification: Performance of Transformations before backend: time 2.653e-05/0.2117, allocations: 3.984 kB / 0.8267 GB, free: 268 kB / 0.5887 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.003686/0.2154, allocations: 3.938 MB / 0.8306 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.2155, allocations: 8.031 kB / 0.8306 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/0.2156, allocations: 245.8 kB / 0.8308 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000564/0.2162, allocations: 406.6 kB / 0.8312 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.2191, allocations: 2.841 MB / 0.834 GB, free: 8.672 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/0.2191, allocations: 115.3 kB / 0.8341 GB, free: 8.559 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.2193, allocations: 159.9 kB / 0.8342 GB, free: 8.402 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.2223, allocations: 2.854 MB / 0.837 GB, free: 5.18 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.2223, allocations: 19.84 kB / 0.837 GB, free: 5.16 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/0.2224, allocations: 75.98 kB / 0.8371 GB, free: 5.086 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.498e-05/0.2224, allocations: 40 kB / 0.8371 GB, free: 5.047 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.2252, allocations: 1.963 MB / 0.8391 GB, free: 3.062 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006761/0.232, allocations: 10.92 MB / 0.8497 GB, free: 7.777 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.2345, allocations: 1.778 MB / 0.8515 GB, free: 5.895 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.236, allocations: 0.7281 MB / 0.8522 GB, free: 5.125 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.2362, allocations: 76.91 kB / 0.8522 GB, free: 5.051 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002226/0.2384, allocations: 1.541 MB / 0.8537 GB, free: 3.422 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=225): time 3.326e-06/0.2384, allocations: 0 / 0.8537 GB, free: 3.422 MB / 0.6199 GB Notification: Performance of matching and sorting (n=229): time 0.0156/0.254, allocations: 13.33 MB / 0.8668 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001989/0.2542, allocations: 0.6385 MB / 0.8674 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/0.2567, allocations: 2.434 MB / 0.8698 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.2568, allocations: 53.7 kB / 0.8698 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/0.2574, allocations: 1.117 MB / 0.8709 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.2579, allocations: 0.7745 MB / 0.8717 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007911/0.2586, allocations: 0.4964 MB / 0.8721 GB, free: 196 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/0.2587, allocations: 313 kB / 0.8724 GB, free: 15.88 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.2598, allocations: 0.8417 MB / 0.8733 GB, free: 15.03 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.2612, allocations: 1.625 MB / 0.8749 GB, free: 13.06 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04789/0.3091, allocations: 15.01 MB / 0.8895 GB, free: 13.69 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.3091, allocations: 4 kB / 0.8895 GB, free: 13.68 MB / 0.6668 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00464/0.3138, allocations: 3.156 MB / 0.8926 GB, free: 10.48 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.3138, allocations: 85.56 kB / 0.8927 GB, free: 10.39 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002915/0.3167, allocations: 2.294 MB / 0.8949 GB, free: 8.059 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006034/0.3174, allocations: 275.5 kB / 0.8952 GB, free: 7.781 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009616/0.3183, allocations: 0.5537 MB / 0.8957 GB, free: 7.227 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/0.3246, allocations: 6.167 MB / 0.9017 GB, free: 0.7148 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3258, allocations: 119.6 kB / 0.9019 GB, free: 0.5977 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.3259, allocations: 143.9 kB / 0.902 GB, free: 468 kB / 0.6668 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.2975/0.6234, allocations: 1.318 MB / 0.9033 GB, free: 118.6 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00141/0.6248, allocations: 1.609 MB / 0.9049 GB, free: 117.6 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04887/0.6737, allocations: 14.97 MB / 0.9195 GB, free: 115 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-05/0.6737, allocations: 10.75 kB / 0.9195 GB, free: 115 MB / 0.6668 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004048/0.6778, allocations: 3.065 MB / 0.9225 GB, free: 113.8 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.6778, allocations: 79.44 kB / 0.9226 GB, free: 113.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002555/0.6804, allocations: 2.215 MB / 0.9247 GB, free: 112.8 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/0.6809, allocations: 256.3 kB / 0.925 GB, free: 112.7 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/0.6818, allocations: 0.5506 MB / 0.9255 GB, free: 112.5 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.6866, allocations: 5.986 MB / 0.9313 GB, free: 107.4 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/0.6873, allocations: 114.1 kB / 0.9315 GB, free: 107.4 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.6875, allocations: 145.4 kB / 0.9316 GB, free: 107.3 MB / 0.6668 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.0003725/0.6878, allocations: 417.3 kB / 0.932 GB, free: 107 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.6881, allocations: 299 kB / 0.9323 GB, free: 107 MB / 0.6668 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 1.9.0-ClaRa/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.002146/0.6902, allocations: 2.263 MB / 0.9345 GB, free: 105.4 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6991593837738037]