Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump.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.01057/0.01057, allocations: 2.336 MB / 21.18 MB, free: 3.531 MB / 13.93 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.000756/0.000756, allocations: 116.5 kB / 24.89 MB, free: 240 kB / 13.93 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.0009099/0.0009099, allocations: 217.8 kB / 28.72 MB, free: 1.047 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.9258/0.9258, allocations: 230.6 MB / 263 MB, free: 6.82 MB / 202.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.7612/0.7612, allocations: 130.7 MB / 450.7 MB, free: 9.816 MB / 346.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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03425/0.03425, allocations: 29.95 MB / 0.6466 GB, free: 27.02 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1613, allocations: 82.04 MB / 0.7267 GB, free: 11.8 MB / 0.5418 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.Electrical.Check.TestAsynchronousMotorWithPump): time 0.09184/0.2532, allocations: 44.83 MB / 0.7705 GB, free: 14.88 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.2713, allocations: 17.53 MB / 0.7876 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.2723, allocations: 59.56 kB / 0.7877 GB, free: 13.23 MB / 0.6043 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.002077/0.2744, allocations: 1.298 MB / 0.789 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2761, allocations: 1.496 MB / 0.7904 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.279, allocations: 2.074 MB / 0.7925 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.00246/0.2815, allocations: 3.429 MB / 0.7958 GB, free: 4.902 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008755/0.2824, allocations: 1.152 MB / 0.7969 GB, free: 3.715 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009538/0.2833, allocations: 1.416 MB / 0.7983 GB, free: 2.293 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.2845, allocations: 1.575 MB / 0.7998 GB, free: 0.7109 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0004816/0.2849, allocations: 252 kB / 0.8001 GB, free: 476 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.2871, allocations: 1.692 MB / 0.8017 GB, free: 14.77 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.2875, allocations: 0.8056 MB / 0.8025 GB, free: 13.96 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0006011/0.2881, allocations: 1.095 MB / 0.8036 GB, free: 12.86 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/0.2917, allocations: 4.896 MB / 0.8084 GB, free: 7.945 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2918, allocations: 0 / 0.8084 GB, free: 7.945 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2918, allocations: 0 / 0.8084 GB, free: 7.945 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.2918, allocations: 0 / 0.8084 GB, free: 7.945 MB / 0.6199 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.003711/0.2955, allocations: 3.938 MB / 0.8122 GB, free: 3.934 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2955, allocations: 11.97 kB / 0.8122 GB, free: 3.922 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.2957, allocations: 245.8 kB / 0.8125 GB, free: 3.672 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006013/0.2963, allocations: 406.6 kB / 0.8129 GB, free: 3.273 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/0.2995, allocations: 2.845 MB / 0.8156 GB, free: 360 kB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.2996, allocations: 123.2 kB / 0.8158 GB, free: 236 kB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.2997, allocations: 155.9 kB / 0.8159 GB, free: 80 kB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/0.3029, allocations: 2.858 MB / 0.8187 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/0.3029, allocations: 15.88 kB / 0.8187 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.303, allocations: 68 kB / 0.8188 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.3031, allocations: 44 kB / 0.8188 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.306, allocations: 1.963 MB / 0.8207 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2109/0.5169, allocations: 10.9 MB / 0.8314 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.5202, allocations: 1.78 MB / 0.8331 GB, free: 167.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007849/0.521, allocations: 0.7277 MB / 0.8338 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.5211, allocations: 80.81 kB / 0.8339 GB, free: 167.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002188/0.5233, allocations: 1.536 MB / 0.8354 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=225): time 4.198e-06/0.5233, allocations: 0 / 0.8354 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=229): time 0.01352/0.5368, allocations: 13.32 MB / 0.8484 GB, free: 159 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.5369, allocations: 0.6455 MB / 0.849 GB, free: 158.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.5393, allocations: 2.433 MB / 0.8514 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.654e-05/0.5394, allocations: 54.3 kB / 0.8515 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/0.54, allocations: 1.112 MB / 0.8526 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.5403, allocations: 0.7758 MB / 0.8533 GB, free: 155.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/0.5408, allocations: 0.4986 MB / 0.8538 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.505e-05/0.5408, allocations: 306.1 kB / 0.8541 GB, free: 155.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.5419, allocations: 0.846 MB / 0.8549 GB, free: 155 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.5432, allocations: 1.624 MB / 0.8565 GB, free: 153.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04978/0.593, allocations: 15.01 MB / 0.8712 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/0.593, allocations: 11.84 kB / 0.8712 GB, free: 150.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004149/0.5971, allocations: 3.157 MB / 0.8743 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.5972, allocations: 77.7 kB / 0.8743 GB, free: 148.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002824/0.6, allocations: 2.296 MB / 0.8766 GB, free: 147.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.6006, allocations: 272.2 kB / 0.8768 GB, free: 147.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009141/0.6015, allocations: 0.5487 MB / 0.8774 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005407/0.6069, allocations: 6.168 MB / 0.8834 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.6081, allocations: 127.2 kB / 0.8835 GB, free: 141.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.6082, allocations: 146.6 kB / 0.8837 GB, free: 141 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00172/0.61, allocations: 1.32 MB / 0.8849 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001084/0.6111, allocations: 1.612 MB / 0.8865 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04618/0.6572, allocations: 14.96 MB / 0.9011 GB, free: 122.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-05/0.6572, allocations: 14.56 kB / 0.9011 GB, free: 122.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003719/0.661, allocations: 3.054 MB / 0.9041 GB, free: 119.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.661, allocations: 84.98 kB / 0.9042 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002451/0.6634, allocations: 2.213 MB / 0.9064 GB, free: 117.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004899/0.6639, allocations: 267.9 kB / 0.9066 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.6648, allocations: 0.5499 MB / 0.9072 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.6696, allocations: 5.982 MB / 0.913 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.6708, allocations: 111.7 kB / 0.9131 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.6709, allocations: 147.9 kB / 0.9132 GB, free: 110.1 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.0005657/0.6715, allocations: 417.1 kB / 0.9136 GB, free: 109.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/0.6718, allocations: 299.1 kB / 0.9139 GB, free: 109.3 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.002314/0.6741, allocations: 2.27 MB / 0.9161 GB, free: 107.1 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.532736038789153]