Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.007931/0.007931, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007885/0.0007885, allocations: 94.12 kB / 24.91 MB, free: 7.27 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.0009711/0.0009711, allocations: 168.9 kB / 28.62 MB, free: 4.449 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.8718/0.8718, allocations: 177.2 MB / 209.4 MB, free: 2.984 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.7448/0.7448, allocations: 102.5 MB / 368.7 MB, free: 1.441 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 5.562 kB / 0.5374 GB, free: 39.81 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.343e-05, allocations: 6.219 kB / 0.5374 GB, free: 39.8 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.111/0.111, allocations: 58.4 MB / 0.5944 GB, free: 1.602 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01907/0.1301, allocations: 17.24 MB / 0.6113 GB, free: 308 kB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.1316, allocations: 59.56 kB / 0.6113 GB, free: 248 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.002438/0.1341, allocations: 1.309 MB / 0.6126 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/0.1366, allocations: 1.537 MB / 0.6141 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.1405, allocations: 2.107 MB / 0.6162 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003453/0.1439, allocations: 3.522 MB / 0.6196 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.1453, allocations: 1.164 MB / 0.6207 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.1475, allocations: 1.917 MB / 0.6226 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.1487, allocations: 1.369 MB / 0.624 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.1489, allocations: 251.9 kB / 0.6242 GB, free: 3 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.1515, allocations: 1.715 MB / 0.6259 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.152, allocations: 0.8173 MB / 0.6267 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.1527, allocations: 0.8607 MB / 0.6275 GB, free: 15.6 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.006302/0.159, allocations: 4.926 MB / 0.6323 GB, free: 10.66 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.159, allocations: 3.938 kB / 0.6323 GB, free: 10.65 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.135e-06/0.159, allocations: 0 / 0.6323 GB, free: 10.65 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.727e-05/0.1591, allocations: 0 / 0.6323 GB, free: 10.65 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.005167/0.1642, allocations: 3.903 MB / 0.6361 GB, free: 6.676 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1643, allocations: 8.031 kB / 0.6361 GB, free: 6.668 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006572/0.1649, allocations: 406.6 kB / 0.6365 GB, free: 6.27 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0033/0.1682, allocations: 2.846 MB / 0.6393 GB, free: 3.359 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.213e-05/0.1683, allocations: 115.3 kB / 0.6394 GB, free: 3.246 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.1685, allocations: 156.3 kB / 0.6396 GB, free: 3.094 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003685/0.1721, allocations: 2.859 MB / 0.6424 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.1722, allocations: 23.81 kB / 0.6424 GB, free: 15.84 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.1723, allocations: 68 kB / 0.6424 GB, free: 15.77 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.95e-05/0.1723, allocations: 40 kB / 0.6425 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.1753, allocations: 1.971 MB / 0.6444 GB, free: 13.74 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008682/0.184, allocations: 10.68 MB / 0.6548 GB, free: 2.703 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.1871, allocations: 1.789 MB / 0.6566 GB, free: 0.8008 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008871/0.188, allocations: 0.7252 MB / 0.6573 GB, free: 32 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.1883, allocations: 72.97 kB / 0.6574 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/0.1905, allocations: 1.537 MB / 0.6589 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 4.098e-06/0.1905, allocations: 0 / 0.6589 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01529/0.2057, allocations: 13.3 MB / 0.6719 GB, free: 0.8477 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/0.206, allocations: 0.6385 MB / 0.6725 GB, free: 60 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.2083, allocations: 2.367 MB / 0.6748 GB, free: 13.68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.2084, allocations: 53.7 kB / 0.6748 GB, free: 13.62 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006676/0.2091, allocations: 1.124 MB / 0.6759 GB, free: 12.48 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000505/0.2096, allocations: 0.7628 MB / 0.6767 GB, free: 11.71 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.2101, allocations: 0.4925 MB / 0.6772 GB, free: 11.21 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002395/0.2103, allocations: 309.1 kB / 0.6775 GB, free: 10.91 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.2115, allocations: 0.838 MB / 0.6783 GB, free: 10.06 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.2128, allocations: 1.636 MB / 0.6799 GB, free: 8.082 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04907/0.2619, allocations: 15.01 MB / 0.6945 GB, free: 8.703 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/0.2619, allocations: 11.94 kB / 0.6945 GB, free: 8.691 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004685/0.2666, allocations: 3.149 MB / 0.6976 GB, free: 5.5 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/0.2667, allocations: 83.38 kB / 0.6977 GB, free: 5.406 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003101/0.2698, allocations: 2.289 MB / 0.6999 GB, free: 3.082 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006685/0.2705, allocations: 274.3 kB / 0.7002 GB, free: 2.805 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.2714, allocations: 0.5499 MB / 0.7007 GB, free: 2.254 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006655/0.2781, allocations: 6.09 MB / 0.7067 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.2794, allocations: 127.6 kB / 0.7068 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.2796, allocations: 143.9 kB / 0.7069 GB, free: 11.59 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.002057/0.2816, allocations: 1.32 MB / 0.7082 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001424/0.2831, allocations: 1.605 MB / 0.7098 GB, free: 8.309 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0494/0.3325, allocations: 14.97 MB / 0.7244 GB, free: 8.969 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.77e-05/0.3325, allocations: 7.938 kB / 0.7244 GB, free: 8.961 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004541/0.337, allocations: 3.071 MB / 0.7274 GB, free: 5.848 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 6.067e-05/0.3371, allocations: 79.39 kB / 0.7275 GB, free: 5.758 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002819/0.3399, allocations: 2.203 MB / 0.7297 GB, free: 3.52 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.3405, allocations: 262.3 kB / 0.7299 GB, free: 3.254 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009712/0.3415, allocations: 0.5499 MB / 0.7304 GB, free: 2.703 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00606/0.3475, allocations: 5.911 MB / 0.7362 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.3488, allocations: 107.8 kB / 0.7363 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.3489, allocations: 143.9 kB / 0.7365 GB, free: 12.24 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.0006315/0.3496, allocations: 424.9 kB / 0.7369 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.3499, allocations: 294.1 kB / 0.7371 GB, free: 11.52 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.002828/0.3528, allocations: 2.251 MB / 0.7393 GB, free: 9.219 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4956623688340187] Failed to read output from testmodel.py, exit status != 0: 0.7527099139988422 0.760695266 0.600217342 Calling exit ...