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.01303/0.01303, allocations: 1.795 MB / 21.35 MB, free: 3.199 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.0007529/0.0007529, allocations: 84.56 kB / 25.15 MB, free: 7.426 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.0008526/0.0008526, allocations: 164.7 kB / 29.06 MB, free: 3.648 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.8757/0.8757, allocations: 177.2 MB / 210 MB, free: 3.582 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.5591/0.5591, allocations: 102.5 MB / 369.5 MB, free: 372 kB / 330.7 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: translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 470 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.681e-05, allocations: 3.672 kB / 470 MB, free: 18.98 MB / 410.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.1021/0.1022, allocations: 62.18 MB / 0.5197 GB, free: 9.742 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.1195, allocations: 18.01 MB / 0.5373 GB, free: 7.68 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009634/0.1205, allocations: 55.62 kB / 0.5373 GB, free: 7.625 MB / 458.8 MB [/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.002057/0.1225, allocations: 1.318 MB / 0.5386 GB, free: 6.301 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.1244, allocations: 1.545 MB / 0.5401 GB, free: 4.746 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.1273, allocations: 2.114 MB / 0.5422 GB, free: 2.625 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.1296, allocations: 3.52 MB / 0.5456 GB, free: 15.09 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008758/0.1305, allocations: 1.246 MB / 0.5469 GB, free: 13.82 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1073/0.2377, allocations: 47.13 MB / 0.5929 GB, free: 15.85 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.2391, allocations: 1.246 MB / 0.5941 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005224/0.2396, allocations: 200 kB / 0.5943 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.2419, allocations: 1.625 MB / 0.5959 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.2423, allocations: 0.7237 MB / 0.5966 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.2428, allocations: 0.771 MB / 0.5973 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.2459, allocations: 3.522 MB / 0.6008 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2459, allocations: 0 / 0.6008 GB, free: 7.738 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2459, allocations: 4 kB / 0.6008 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.2459, allocations: 0 / 0.6008 GB, free: 7.734 MB / 0.5105 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.003416/0.2493, allocations: 3.89 MB / 0.6046 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2494, allocations: 12.03 kB / 0.6046 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.2499, allocations: 454.7 kB / 0.605 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.2515, allocations: 1.778 MB / 0.6068 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.368e-05/0.2515, allocations: 119.2 kB / 0.6069 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.2517, allocations: 160.3 kB / 0.607 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/0.2547, allocations: 2.622 MB / 0.6096 GB, free: 14.07 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.2547, allocations: 23.81 kB / 0.6096 GB, free: 14.05 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.126e-05/0.2548, allocations: 64 kB / 0.6097 GB, free: 13.99 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.2548, allocations: 44 kB / 0.6097 GB, free: 13.95 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.2569, allocations: 1.315 MB / 0.611 GB, free: 12.61 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007426/0.2643, allocations: 14.33 MB / 0.625 GB, free: 13.81 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.2665, allocations: 1.452 MB / 0.6264 GB, free: 12.21 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.267, allocations: 488.8 kB / 0.6269 GB, free: 11.67 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.2672, allocations: 84.91 kB / 0.627 GB, free: 11.59 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/0.2689, allocations: 1.272 MB / 0.6282 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 3.396e-06/0.2689, allocations: 0 / 0.6282 GB, free: 10.21 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.01141/0.2803, allocations: 11.7 MB / 0.6396 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.2805, allocations: 0.6966 MB / 0.6403 GB, free: 13.47 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.2822, allocations: 2.151 MB / 0.6424 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 8.25e-05/0.2823, allocations: 53.7 kB / 0.6425 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008965/0.2832, allocations: 1.227 MB / 0.6437 GB, free: 10 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/0.2836, allocations: 0.7784 MB / 0.6444 GB, free: 9.219 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004662/0.2841, allocations: 0.5106 MB / 0.6449 GB, free: 8.699 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.2842, allocations: 480.8 kB / 0.6454 GB, free: 8.227 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.2848, allocations: 469.6 kB / 0.6458 GB, free: 7.754 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.2859, allocations: 1.594 MB / 0.6474 GB, free: 5.676 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/0.2884, allocations: 2.458 MB / 0.6498 GB, free: 2.762 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.2884, allocations: 4 kB / 0.6498 GB, free: 2.758 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002876/0.2913, allocations: 2.384 MB / 0.6521 GB, free: 336 kB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.171e-05/0.2913, allocations: 83.28 kB / 0.6522 GB, free: 240 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1835/0.4749, allocations: 1.502 MB / 0.6537 GB, free: 119.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.4755, allocations: 259 kB / 0.6539 GB, free: 119.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.4764, allocations: 0.5504 MB / 0.6544 GB, free: 119.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/0.4811, allocations: 7.124 MB / 0.6614 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009128/0.482, allocations: 118.3 kB / 0.6615 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.4821, allocations: 145.3 kB / 0.6617 GB, free: 113.8 MB / 0.5574 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.0009515/0.4831, allocations: 0.6046 MB / 0.6622 GB, free: 113.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008087/0.4839, allocations: 1.596 MB / 0.6638 GB, free: 112.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001843/0.4857, allocations: 2.431 MB / 0.6662 GB, free: 110.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.899e-06/0.4857, allocations: 10.56 kB / 0.6662 GB, free: 110.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.002545/0.4883, allocations: 2.357 MB / 0.6685 GB, free: 110.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.4883, allocations: 79.86 kB / 0.6686 GB, free: 110.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001755/0.4901, allocations: 1.467 MB / 0.67 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.4905, allocations: 235.2 kB / 0.6702 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/0.4914, allocations: 0.5494 MB / 0.6708 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/0.4955, allocations: 7.088 MB / 0.6777 GB, free: 104.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.4961, allocations: 110.8 kB / 0.6778 GB, free: 104.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.4962, allocations: 145.4 kB / 0.6779 GB, free: 104.6 MB / 0.5574 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.0003526/0.4966, allocations: 0.4884 MB / 0.6784 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.4969, allocations: 343 kB / 0.6787 GB, free: 104.2 MB / 0.5574 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.001888/0.4988, allocations: 1.976 MB / 0.6807 GB, free: 104 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.9665017421357334]