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.006147/0.006147, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0005819/0.0005819, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007077/0.0007077, allocations: 165.8 kB / 27.86 MB, free: 5.496 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.8925/0.8925, allocations: 177.1 MB / 208.6 MB, free: 2.98 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.7418/0.7418, allocations: 102.5 MB / 367.9 MB, free: 1.469 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 0.5.2 (/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.723e-06/1.723e-06, allocations: 0 / 0.5367 GB, free: 39.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.1e-05, allocations: 6.781 kB / 0.5367 GB, free: 39.79 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.1182/0.1182, allocations: 58.42 MB / 0.5937 GB, free: 1.559 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.1393, allocations: 17.25 MB / 0.6106 GB, free: 256 kB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.1413, allocations: 55.62 kB / 0.6106 GB, free: 200 kB / 0.4949 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.003046/0.1443, allocations: 1.305 MB / 0.6119 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003521/0.1478, allocations: 1.537 MB / 0.6134 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.152, allocations: 2.114 MB / 0.6155 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00488/0.1569, allocations: 3.525 MB / 0.6189 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.1587, allocations: 1.164 MB / 0.6201 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.161, allocations: 1.913 MB / 0.6219 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.1625, allocations: 1.372 MB / 0.6233 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003276/0.1628, allocations: 252 kB / 0.6235 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.166, allocations: 1.695 MB / 0.6252 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.1666, allocations: 0.8173 MB / 0.626 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000883/0.1674, allocations: 0.8685 MB / 0.6268 GB, free: 15.56 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0064/0.1738, allocations: 4.914 MB / 0.6316 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1738, allocations: 0 / 0.6316 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.445e-06/0.1738, allocations: 0 / 0.6316 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.735e-05/0.1739, allocations: 0 / 0.6316 GB, free: 10.63 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.005239/0.1791, allocations: 3.899 MB / 0.6354 GB, free: 6.656 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1792, allocations: 16.02 kB / 0.6354 GB, free: 6.641 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006718/0.1799, allocations: 410.6 kB / 0.6358 GB, free: 6.238 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003632/0.1835, allocations: 2.841 MB / 0.6386 GB, free: 3.328 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-05/0.1836, allocations: 119.3 kB / 0.6387 GB, free: 3.211 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.1837, allocations: 156.2 kB / 0.6389 GB, free: 3.059 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.1873, allocations: 2.855 MB / 0.6416 GB, free: 15.83 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.1873, allocations: 15.81 kB / 0.6417 GB, free: 15.81 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.1874, allocations: 80 kB / 0.6417 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.1874, allocations: 51.88 kB / 0.6418 GB, free: 15.69 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/0.1905, allocations: 1.955 MB / 0.6437 GB, free: 13.71 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009609/0.2001, allocations: 10.67 MB / 0.6541 GB, free: 2.68 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.203, allocations: 1.793 MB / 0.6559 GB, free: 0.7734 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008472/0.2038, allocations: 0.7252 MB / 0.6566 GB, free: 4 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.2041, allocations: 77.02 kB / 0.6567 GB, free: 15.93 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002153/0.2062, allocations: 1.533 MB / 0.6582 GB, free: 14.3 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 3.056e-06/0.2062, allocations: 0 / 0.6582 GB, free: 14.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01524/0.2215, allocations: 13.3 MB / 0.6711 GB, free: 0.8164 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002214/0.2217, allocations: 0.6385 MB / 0.6718 GB, free: 28 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002732/0.2244, allocations: 2.363 MB / 0.6741 GB, free: 13.65 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002235/0.2246, allocations: 53.7 kB / 0.6741 GB, free: 13.59 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006786/0.2253, allocations: 1.128 MB / 0.6752 GB, free: 12.45 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/0.2259, allocations: 0.7628 MB / 0.676 GB, free: 11.68 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000518/0.2264, allocations: 0.4925 MB / 0.6765 GB, free: 11.18 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.2265, allocations: 305.1 kB / 0.6767 GB, free: 10.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2276, allocations: 0.8456 MB / 0.6776 GB, free: 10.02 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.2293, allocations: 1.629 MB / 0.6792 GB, free: 8.055 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05059/0.2799, allocations: 15.01 MB / 0.6938 GB, free: 8.676 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-05/0.28, allocations: 7.938 kB / 0.6938 GB, free: 8.668 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004823/0.2848, allocations: 3.149 MB / 0.6969 GB, free: 5.477 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/0.2849, allocations: 83.38 kB / 0.697 GB, free: 5.383 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003226/0.2881, allocations: 2.293 MB / 0.6992 GB, free: 3.055 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007361/0.2888, allocations: 270.6 kB / 0.6995 GB, free: 2.781 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.2903, allocations: 0.5538 MB / 0.7 GB, free: 2.227 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/0.2979, allocations: 6.086 MB / 0.706 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.2995, allocations: 131.8 kB / 0.7061 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002453/0.2997, allocations: 143.9 kB / 0.7062 GB, free: 11.56 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.002382/0.3021, allocations: 1.316 MB / 0.7075 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001429/0.3035, allocations: 1.613 MB / 0.7091 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05061/0.3542, allocations: 14.97 MB / 0.7237 GB, free: 8.938 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.589e-05/0.3542, allocations: 11.94 kB / 0.7237 GB, free: 8.926 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.005124/0.3593, allocations: 3.059 MB / 0.7267 GB, free: 5.824 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.3594, allocations: 79.45 kB / 0.7268 GB, free: 5.734 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003415/0.3628, allocations: 2.211 MB / 0.7289 GB, free: 3.488 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.3634, allocations: 262.4 kB / 0.7292 GB, free: 3.223 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.3644, allocations: 0.5499 MB / 0.7297 GB, free: 2.672 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.3715, allocations: 5.912 MB / 0.7355 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.3731, allocations: 111.8 kB / 0.7356 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.3733, allocations: 143.9 kB / 0.7357 GB, free: 12.21 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.0007146/0.374, allocations: 416.8 kB / 0.7361 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/0.3745, allocations: 298 kB / 0.7364 GB, free: 11.48 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.003144/0.3777, allocations: 2.255 MB / 0.7386 GB, free: 9.184 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.502843373455107] Failed to read output from testmodel.py, exit status != 0: 0.7565792612731457 0.763390743 0.588002759 Calling exit ...