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.008316/0.008316, 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.003847/0.003847, allocations: 78.58 kB / 24.59 MB, free: 7.215 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.0008892/0.0008892, allocations: 161.1 kB / 28.4 MB, free: 4.312 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.8442/0.8442, allocations: 177.2 MB / 209.3 MB, free: 2.527 MB / 186.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.7689/0.7689, allocations: 102.4 MB / 368.7 MB, free: 1.016 MB / 330.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: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.5378 GB, free: 39.12 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.965e-05, allocations: 4.531 kB / 0.5379 GB, free: 39.12 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.1086/0.1086, allocations: 67.12 MB / 0.6034 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.1253, allocations: 17.24 MB / 0.6202 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009396/0.1262, allocations: 55.62 kB / 0.6203 GB, free: 6.68 MB / 0.5105 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.00212/0.1283, allocations: 1.305 MB / 0.6216 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.1302, allocations: 1.537 MB / 0.6231 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.1329, allocations: 2.116 MB / 0.6251 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002472/0.1353, allocations: 3.528 MB / 0.6286 GB, free: 14.16 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.1364, allocations: 1.183 MB / 0.6297 GB, free: 12.95 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.1379, allocations: 1.921 MB / 0.6316 GB, free: 11.02 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.1389, allocations: 1.359 MB / 0.6329 GB, free: 9.66 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.1392, allocations: 256 kB / 0.6332 GB, free: 9.41 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.141, allocations: 1.699 MB / 0.6348 GB, free: 7.707 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005444/0.1416, allocations: 0.8251 MB / 0.6356 GB, free: 6.879 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.1422, allocations: 0.8568 MB / 0.6365 GB, free: 6.02 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/0.1455, allocations: 4.914 MB / 0.6413 GB, free: 1.09 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1455, allocations: 7.938 kB / 0.6413 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1455, allocations: 0 / 0.6413 GB, free: 1.082 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.181e-05/0.1455, 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.003859/0.1494, allocations: 3.899 MB / 0.6451 GB, free: 13.11 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1494, allocations: 8.031 kB / 0.6451 GB, free: 13.1 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.1496, allocations: 249.8 kB / 0.6453 GB, free: 12.85 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/0.1502, allocations: 406.5 kB / 0.6457 GB, free: 12.45 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.1531, allocations: 2.848 MB / 0.6485 GB, free: 9.531 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/0.1532, allocations: 119.3 kB / 0.6486 GB, free: 9.414 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.1534, allocations: 152.3 kB / 0.6488 GB, free: 9.266 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003283/0.1566, allocations: 2.862 MB / 0.6516 GB, free: 6.035 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.1567, allocations: 15.88 kB / 0.6516 GB, free: 6.02 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.1568, allocations: 68 kB / 0.6516 GB, free: 5.953 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.1568, allocations: 44 kB / 0.6517 GB, free: 5.91 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.1597, allocations: 1.963 MB / 0.6536 GB, free: 3.926 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007512/0.1673, allocations: 10.87 MB / 0.6642 GB, free: 8.68 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.17, allocations: 1.79 MB / 0.666 GB, free: 6.77 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.1709, allocations: 0.7358 MB / 0.6667 GB, free: 5.988 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.171, allocations: 72.91 kB / 0.6668 GB, free: 5.918 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002171/0.1732, allocations: 1.529 MB / 0.6683 GB, free: 4.297 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 2.615e-06/0.1732, allocations: 0 / 0.6683 GB, free: 4.297 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01369/0.1869, allocations: 13.32 MB / 0.6813 GB, free: 6.805 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.1871, allocations: 0.6424 MB / 0.6819 GB, free: 6.012 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.1893, allocations: 2.442 MB / 0.6843 GB, free: 3.547 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/0.1894, allocations: 53.7 kB / 0.6843 GB, free: 3.488 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/0.19, allocations: 1.109 MB / 0.6854 GB, free: 2.367 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003883/0.1903, allocations: 0.7667 MB / 0.6861 GB, free: 1.594 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004872/0.1908, allocations: 0.4925 MB / 0.6866 GB, free: 1.094 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.1909, allocations: 305.1 kB / 0.6869 GB, free: 0.793 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.192, allocations: 0.8499 MB / 0.6878 GB, free: 15.93 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.1934, allocations: 1.621 MB / 0.6893 GB, free: 13.97 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05429/0.2477, allocations: 15.01 MB / 0.704 GB, free: 14.59 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/0.2477, allocations: 8 kB / 0.704 GB, free: 14.58 MB / 0.6043 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005063/0.2528, allocations: 3.156 MB / 0.7071 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/0.2529, allocations: 77.42 kB / 0.7072 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003088/0.256, allocations: 2.297 MB / 0.7094 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/0.2566, allocations: 270.4 kB / 0.7097 GB, free: 8.688 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.2576, allocations: 0.5576 MB / 0.7102 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006308/0.2639, allocations: 6.162 MB / 0.7162 GB, free: 1.621 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009848/0.2649, allocations: 123.6 kB / 0.7163 GB, free: 1.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.2651, 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.001808/0.2669, allocations: 1.316 MB / 0.7178 GB, free: 28 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001432/0.2683, allocations: 1.605 MB / 0.7193 GB, free: 14.08 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05127/0.3196, allocations: 14.98 MB / 0.734 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.215e-05/0.3196, allocations: 8 kB / 0.734 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004022/0.3236, allocations: 3.063 MB / 0.737 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.3237, allocations: 87.38 kB / 0.737 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002982/0.3266, allocations: 2.211 MB / 0.7392 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005847/0.3272, allocations: 258.3 kB / 0.7394 GB, free: 9.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009797/0.3282, allocations: 0.5537 MB / 0.74 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005795/0.334, allocations: 5.976 MB / 0.7458 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/0.3349, allocations: 108.1 kB / 0.7459 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.335, allocations: 147.9 kB / 0.7461 GB, free: 1.898 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.0005235/0.3355, allocations: 409 kB / 0.7465 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.3359, allocations: 302 kB / 0.7467 GB, free: 1.184 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.002583/0.3384, allocations: 2.267 MB / 0.749 GB, free: 14.87 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1779663395136595]