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.008512/0.008512, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.0008218/0.0008218, allocations: 89.34 kB / 25.16 MB, free: 6.316 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.0008969/0.0008969, allocations: 168 kB / 29.06 MB, free: 3.348 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.9009/0.9009, allocations: 177.1 MB / 210 MB, free: 3.566 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.6024/0.6024, allocations: 102.4 MB / 369.5 MB, free: 308 kB / 330.7 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: 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_dev_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_dev_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.54e-05, allocations: 7.594 kB / 470 MB, free: 18.94 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.1083/0.1083, allocations: 62.17 MB / 0.5197 GB, free: 9.711 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01727/0.1256, allocations: 18.01 MB / 0.5373 GB, free: 7.648 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.1266, allocations: 59.56 kB / 0.5373 GB, free: 7.59 MB / 458.8 MB [/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.00215/0.1287, allocations: 1.314 MB / 0.5386 GB, free: 6.27 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.1306, allocations: 1.541 MB / 0.5401 GB, free: 4.719 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.1339, allocations: 2.118 MB / 0.5422 GB, free: 2.594 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002543/0.1365, allocations: 3.518 MB / 0.5456 GB, free: 15.06 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.1375, allocations: 1.246 MB / 0.5468 GB, free: 13.79 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1104/0.2478, allocations: 47.13 MB / 0.5929 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.2491, allocations: 1.254 MB / 0.5941 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.2493, allocations: 204 kB / 0.5943 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002502/0.2518, allocations: 1.625 MB / 0.5959 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004492/0.2523, allocations: 0.7197 MB / 0.5966 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006224/0.2529, allocations: 0.771 MB / 0.5973 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.2562, allocations: 3.522 MB / 0.6008 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2562, allocations: 4 kB / 0.6008 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2562, allocations: 0 / 0.6008 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.2563, allocations: 0 / 0.6008 GB, free: 7.711 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.00342/0.2597, allocations: 3.886 MB / 0.6046 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2597, allocations: 12.03 kB / 0.6046 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004158/0.2601, allocations: 458.7 kB / 0.605 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.2618, allocations: 1.778 MB / 0.6068 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.487e-05/0.2619, allocations: 115.3 kB / 0.6069 GB, free: 1.305 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.262, allocations: 164.3 kB / 0.607 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.2649, allocations: 2.629 MB / 0.6096 GB, free: 14.04 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.265, allocations: 15.81 kB / 0.6096 GB, free: 14.03 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.714e-05/0.2651, allocations: 64 kB / 0.6097 GB, free: 13.96 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.2651, allocations: 44 kB / 0.6097 GB, free: 13.92 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.2672, allocations: 1.308 MB / 0.611 GB, free: 12.59 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007228/0.2745, allocations: 14.34 MB / 0.625 GB, free: 13.79 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.2767, allocations: 1.448 MB / 0.6264 GB, free: 12.18 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005283/0.2772, allocations: 488.7 kB / 0.6269 GB, free: 11.65 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.2774, allocations: 80.97 kB / 0.627 GB, free: 11.57 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001762/0.2791, allocations: 1.272 MB / 0.6282 GB, free: 10.19 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 3.166e-06/0.2791, allocations: 0 / 0.6282 GB, free: 10.19 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.0114/0.2905, allocations: 11.7 MB / 0.6396 GB, free: 14.3 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/0.2908, allocations: 0.6925 MB / 0.6403 GB, free: 13.45 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/0.2926, allocations: 2.143 MB / 0.6424 GB, free: 11.29 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.2927, allocations: 58.16 kB / 0.6424 GB, free: 11.23 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.2934, allocations: 1.235 MB / 0.6437 GB, free: 9.98 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004323/0.2939, allocations: 0.7823 MB / 0.6444 GB, free: 9.191 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000488/0.2943, allocations: 0.5145 MB / 0.6449 GB, free: 8.668 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.2944, allocations: 476.8 kB / 0.6454 GB, free: 8.199 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/0.2951, allocations: 465.6 kB / 0.6458 GB, free: 7.73 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/0.2962, allocations: 1.594 MB / 0.6474 GB, free: 5.652 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.2986, allocations: 2.451 MB / 0.6498 GB, free: 2.746 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.2986, allocations: 7.938 kB / 0.6498 GB, free: 2.738 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003024/0.3016, allocations: 2.38 MB / 0.6521 GB, free: 320 kB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.3016, allocations: 95.53 kB / 0.6522 GB, free: 212 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2023/0.5039, allocations: 1.496 MB / 0.6537 GB, free: 118.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006891/0.5046, allocations: 255.3 kB / 0.6539 GB, free: 118.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.5056, allocations: 0.551 MB / 0.6544 GB, free: 118.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004957/0.5106, allocations: 7.122 MB / 0.6614 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.5117, allocations: 115.5 kB / 0.6615 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.5119, allocations: 151.9 kB / 0.6616 GB, free: 113.2 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.001113/0.513, allocations: 0.6015 MB / 0.6622 GB, free: 113 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000928/0.5139, allocations: 1.594 MB / 0.6638 GB, free: 111.5 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002129/0.516, allocations: 2.44 MB / 0.6662 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.175e-05/0.516, allocations: 8.594 kB / 0.6662 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003119/0.5192, allocations: 2.351 MB / 0.6685 GB, free: 109.9 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.5192, allocations: 80 kB / 0.6685 GB, free: 109.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001909/0.5211, allocations: 1.471 MB / 0.67 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/0.5216, allocations: 229.5 kB / 0.6702 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/0.5226, allocations: 0.5575 MB / 0.6707 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.5271, allocations: 7.078 MB / 0.6777 GB, free: 104 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009314/0.528, allocations: 113.2 kB / 0.6778 GB, free: 104 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.5282, allocations: 145.9 kB / 0.6779 GB, free: 104 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.0004993/0.5287, allocations: 498.5 kB / 0.6784 GB, free: 103.7 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.529, allocations: 343.8 kB / 0.6787 GB, free: 103.7 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.002015/0.5311, allocations: 1.973 MB / 0.6806 GB, free: 103.5 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.054167010821402]