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.01488/0.01488, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.007867/0.007867, allocations: 78.8 kB / 24.59 MB, free: 7.219 MB / 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.001897/0.001897, allocations: 170.7 kB / 28.4 MB, free: 4.32 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.8569/0.8569, allocations: 177.2 MB / 209.3 MB, free: 2.523 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.7201/0.7201, allocations: 102.5 MB / 368.7 MB, free: 1.043 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 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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.5379 GB, free: 39.14 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026e-05/1.17e-05, allocations: 7.016 kB / 0.5379 GB, free: 39.14 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.Electrical.Check.TestAsynchronousMotorWithPump): time 0.1179/0.1179, allocations: 67.12 MB / 0.6034 GB, free: 8.027 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.1364, allocations: 17.24 MB / 0.6203 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.1376, allocations: 55.62 kB / 0.6203 GB, free: 6.668 MB / 0.5105 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.002147/0.1398, allocations: 1.293 MB / 0.6216 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.1417, allocations: 1.545 MB / 0.6231 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.1447, allocations: 2.103 MB / 0.6251 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002073/0.1468, allocations: 3.533 MB / 0.6286 GB, free: 14.16 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008712/0.1477, allocations: 1.183 MB / 0.6297 GB, free: 12.95 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/0.1489, allocations: 1.913 MB / 0.6316 GB, free: 11.03 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.1501, allocations: 1.379 MB / 0.633 GB, free: 9.648 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.1503, allocations: 248 kB / 0.6332 GB, free: 9.406 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.1521, allocations: 1.699 MB / 0.6349 GB, free: 7.703 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004222/0.1526, allocations: 0.825 MB / 0.6357 GB, free: 6.875 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005677/0.1531, allocations: 0.8568 MB / 0.6365 GB, free: 6.016 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/0.1564, allocations: 4.918 MB / 0.6413 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1564, allocations: 0 / 0.6413 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1564, allocations: 0 / 0.6413 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.1564, allocations: 0 / 0.6413 GB, free: 1.082 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.003594/0.16, allocations: 3.899 MB / 0.6451 GB, free: 13.11 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.16, allocations: 15.97 kB / 0.6451 GB, free: 13.09 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.1602, allocations: 241.8 kB / 0.6454 GB, free: 12.85 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005727/0.1608, allocations: 410.5 kB / 0.6457 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.1637, allocations: 2.85 MB / 0.6485 GB, free: 9.523 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.1638, allocations: 115.3 kB / 0.6486 GB, free: 9.41 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.164, allocations: 152.3 kB / 0.6488 GB, free: 9.262 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.1671, allocations: 2.866 MB / 0.6516 GB, free: 6.027 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.1671, allocations: 11.88 kB / 0.6516 GB, free: 6.016 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/0.1672, allocations: 68 kB / 0.6517 GB, free: 5.949 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.1672, allocations: 44 kB / 0.6517 GB, free: 5.906 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002938/0.1702, allocations: 1.967 MB / 0.6536 GB, free: 3.918 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006719/0.1769, allocations: 10.88 MB / 0.6642 GB, free: 8.664 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.1795, allocations: 1.778 MB / 0.666 GB, free: 6.766 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/0.1804, allocations: 0.732 MB / 0.6667 GB, free: 5.988 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.1806, allocations: 76.91 kB / 0.6668 GB, free: 5.914 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002122/0.1827, allocations: 1.537 MB / 0.6683 GB, free: 4.285 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 2.725e-06/0.1827, allocations: 0 / 0.6683 GB, free: 4.285 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.0133/0.196, allocations: 13.31 MB / 0.6813 GB, free: 6.797 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.1962, allocations: 0.6423 MB / 0.6819 GB, free: 6.004 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.1983, allocations: 2.435 MB / 0.6843 GB, free: 3.547 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.494e-05/0.1983, allocations: 53.7 kB / 0.6843 GB, free: 3.488 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005611/0.1989, allocations: 1.113 MB / 0.6854 GB, free: 2.363 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.1993, allocations: 0.7706 MB / 0.6862 GB, free: 1.586 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/0.1997, allocations: 0.4925 MB / 0.6867 GB, free: 1.086 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.1998, allocations: 305.1 kB / 0.6869 GB, free: 0.7852 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.2009, allocations: 0.8456 MB / 0.6878 GB, free: 15.93 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.2023, allocations: 1.617 MB / 0.6893 GB, free: 13.97 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05002/0.2523, allocations: 15.01 MB / 0.704 GB, free: 14.59 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.2524, allocations: 4 kB / 0.704 GB, free: 14.58 MB / 0.6043 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004296/0.2566, allocations: 3.156 MB / 0.7071 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.2567, allocations: 79.39 kB / 0.7072 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003032/0.2597, allocations: 2.293 MB / 0.7094 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008522/0.2606, allocations: 270.4 kB / 0.7097 GB, free: 8.688 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009691/0.2616, allocations: 0.5537 MB / 0.7102 GB, free: 8.133 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/0.2678, allocations: 6.17 MB / 0.7162 GB, free: 1.617 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.2689, allocations: 119.6 kB / 0.7163 GB, free: 1.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.269, allocations: 143.9 kB / 0.7165 GB, free: 1.359 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.001977/0.271, allocations: 1.324 MB / 0.7178 GB, free: 20 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001352/0.2724, allocations: 1.601 MB / 0.7193 GB, free: 14.08 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05007/0.3224, allocations: 14.98 MB / 0.734 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.208e-05/0.3225, allocations: 4 kB / 0.734 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004191/0.3266, allocations: 3.066 MB / 0.737 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.3267, allocations: 83.38 kB / 0.737 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002792/0.3295, allocations: 2.212 MB / 0.7392 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/0.33, allocations: 262.4 kB / 0.7395 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/0.331, allocations: 0.5576 MB / 0.74 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005684/0.3366, allocations: 5.969 MB / 0.7458 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009525/0.3376, allocations: 111.8 kB / 0.7459 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.3377, allocations: 151.9 kB / 0.7461 GB, free: 1.891 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.000502/0.3382, allocations: 405 kB / 0.7465 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.3385, allocations: 309.9 kB / 0.7468 GB, free: 1.172 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.002533/0.3411, allocations: 2.268 MB / 0.749 GB, free: 14.86 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1937241377308965]