Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.0143/0.0143, allocations: 2.33 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.0007349/0.0007349, allocations: 124.8 kB / 24.89 MB, free: 236 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.0009361/0.0009361, allocations: 214.5 kB / 28.73 MB, free: 1.039 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.9131/0.9131, allocations: 230.6 MB / 263 MB, free: 6.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7355/0.7355, allocations: 130.7 MB / 450.7 MB, free: 9.781 MB / 346.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 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_dev_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_dev_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.03536/0.03536, allocations: 29.94 MB / 0.6466 GB, free: 26.98 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1677, allocations: 82.04 MB / 0.7267 GB, free: 11.76 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.09372/0.2615, allocations: 44.83 MB / 0.7705 GB, free: 14.84 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2783, allocations: 17.52 MB / 0.7876 GB, free: 13.26 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.2794, allocations: 55.62 kB / 0.7877 GB, free: 13.2 MB / 0.6043 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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.002178/0.2816, allocations: 1.302 MB / 0.7889 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.2837, allocations: 1.5 MB / 0.7904 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.2866, allocations: 2.073 MB / 0.7924 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.002369/0.289, allocations: 3.432 MB / 0.7958 GB, free: 4.863 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.2901, allocations: 1.16 MB / 0.7969 GB, free: 3.668 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.2911, allocations: 1.416 MB / 0.7983 GB, free: 2.246 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.2923, allocations: 1.569 MB / 0.7998 GB, free: 0.6719 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.2925, allocations: 248 kB / 0.8001 GB, free: 440 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.2946, allocations: 1.684 MB / 0.8017 GB, free: 14.74 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.2951, allocations: 0.8095 MB / 0.8025 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.0006576/0.2957, allocations: 1.088 MB / 0.8036 GB, free: 12.84 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.003789/0.2995, allocations: 4.9 MB / 0.8084 GB, free: 7.918 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2995, allocations: 0 / 0.8084 GB, free: 7.918 MB / 0.6199 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2995, allocations: 3.938 kB / 0.8084 GB, free: 7.914 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 3.332e-05/0.2996, allocations: 0 / 0.8084 GB, free: 7.914 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.004075/0.3036, allocations: 3.934 MB / 0.8122 GB, free: 3.906 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3037, allocations: 12.03 kB / 0.8122 GB, free: 3.895 MB / 0.6199 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.3039, allocations: 241.8 kB / 0.8124 GB, free: 3.648 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006025/0.3045, allocations: 406.6 kB / 0.8128 GB, free: 3.25 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.3075, allocations: 2.862 MB / 0.8156 GB, free: 312 kB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.3076, allocations: 115.3 kB / 0.8157 GB, free: 196 kB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.3077, allocations: 159.9 kB / 0.8159 GB, free: 36 kB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/0.3111, allocations: 2.854 MB / 0.8187 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.3111, allocations: 11.88 kB / 0.8187 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-05/0.3112, allocations: 71.98 kB / 0.8188 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.3112, allocations: 47.98 kB / 0.8188 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.314, allocations: 1.967 MB / 0.8207 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.21/0.524, allocations: 10.9 MB / 0.8314 GB, free: 167.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/0.5273, allocations: 1.774 MB / 0.8331 GB, free: 166.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008079/0.5281, allocations: 0.7268 MB / 0.8338 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.5283, allocations: 76.58 kB / 0.8339 GB, free: 166.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00225/0.5305, allocations: 1.536 MB / 0.8354 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=225): time 3.737e-06/0.5305, allocations: 0 / 0.8354 GB, free: 166.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=229): time 0.01319/0.5437, allocations: 13.32 MB / 0.8484 GB, free: 158.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5438, allocations: 0.6434 MB / 0.849 GB, free: 157.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.5463, allocations: 2.435 MB / 0.8514 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/0.5464, allocations: 56.77 kB / 0.8514 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005381/0.547, allocations: 1.112 MB / 0.8525 GB, free: 156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.5473, allocations: 0.7807 MB / 0.8533 GB, free: 155.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/0.5479, allocations: 0.499 MB / 0.8538 GB, free: 155.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.142e-05/0.5479, allocations: 307.6 kB / 0.8541 GB, free: 155 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.549, allocations: 0.8448 MB / 0.8549 GB, free: 154.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.5504, allocations: 1.619 MB / 0.8565 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05004/0.6004, allocations: 15.01 MB / 0.8711 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.6004, allocations: 6.156 kB / 0.8711 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004061/0.6045, allocations: 3.155 MB / 0.8742 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/0.6046, allocations: 77.36 kB / 0.8743 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002752/0.6073, allocations: 2.297 MB / 0.8765 GB, free: 147.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005487/0.6079, allocations: 278.1 kB / 0.8768 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008889/0.6088, allocations: 0.5562 MB / 0.8774 GB, free: 146.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.6138, allocations: 6.164 MB / 0.8834 GB, free: 140.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/0.6147, allocations: 120.5 kB / 0.8835 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.6149, allocations: 150.5 kB / 0.8836 GB, free: 140.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001602/0.6165, allocations: 1.316 MB / 0.8849 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001041/0.6175, allocations: 1.605 MB / 0.8865 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04543/0.6629, allocations: 14.97 MB / 0.9011 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.061e-05/0.6629, allocations: 8 kB / 0.9011 GB, free: 121.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003798/0.6667, allocations: 3.059 MB / 0.9041 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.6668, allocations: 84.94 kB / 0.9042 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002478/0.6693, allocations: 2.219 MB / 0.9063 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/0.6697, allocations: 256 kB / 0.9066 GB, free: 116.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.6706, allocations: 0.5537 MB / 0.9071 GB, free: 115.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00475/0.6754, allocations: 5.988 MB / 0.913 GB, free: 109.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/0.6763, allocations: 114 kB / 0.9131 GB, free: 109.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.6765, allocations: 147.9 kB / 0.9132 GB, free: 109.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.0005112/0.677, allocations: 413.1 kB / 0.9136 GB, free: 108.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.6773, allocations: 302 kB / 0.9139 GB, free: 108.4 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.0023/0.6796, allocations: 2.262 MB / 0.9161 GB, free: 106.2 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4869204768911004]