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.005917/0.005917, allocations: 1.446 MB / 20.54 MB, free: 3.996 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.0006664/0.0006664, allocations: 87.45 kB / 24.15 MB, free: 392 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.0007909/0.0007909, allocations: 161.6 kB / 27.86 MB, free: 5.5 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.8841/0.8841, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.7259/0.7259, allocations: 102.5 MB / 367.9 MB, free: 1.457 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.863e-06/1.863e-06, allocations: 0 / 0.5367 GB, free: 39.76 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.536e-05, allocations: 6.453 kB / 0.5367 GB, free: 39.75 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.1108/0.1108, allocations: 58.42 MB / 0.5937 GB, free: 1.551 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01775/0.1286, allocations: 17.23 MB / 0.6106 GB, free: 260 kB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.1298, allocations: 59.56 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.002169/0.1319, allocations: 1.313 MB / 0.6119 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1336, allocations: 1.534 MB / 0.6134 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.1367, allocations: 2.122 MB / 0.6155 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002498/0.1392, allocations: 3.518 MB / 0.6189 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009207/0.1401, allocations: 1.164 MB / 0.6201 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.1416, allocations: 1.913 MB / 0.6219 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.1427, allocations: 1.368 MB / 0.6233 GB, free: 3.195 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.1429, allocations: 256 kB / 0.6235 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.1453, allocations: 1.707 MB / 0.6252 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/0.1459, allocations: 0.8212 MB / 0.626 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00063/0.1465, allocations: 0.8607 MB / 0.6268 GB, free: 15.55 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.003655/0.1501, allocations: 4.914 MB / 0.6316 GB, free: 10.62 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1501, allocations: 0 / 0.6316 GB, free: 10.62 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1501, allocations: 0 / 0.6316 GB, free: 10.62 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.064e-05/0.1502, allocations: 0 / 0.6316 GB, free: 10.62 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.004091/0.1543, allocations: 3.899 MB / 0.6354 GB, free: 6.645 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1543, allocations: 12.03 kB / 0.6354 GB, free: 6.633 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005813/0.1549, allocations: 402.6 kB / 0.6358 GB, free: 6.238 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.1579, allocations: 2.855 MB / 0.6386 GB, free: 3.316 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.472e-05/0.158, allocations: 115.3 kB / 0.6387 GB, free: 3.203 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004408/0.1584, allocations: 156.3 kB / 0.6389 GB, free: 3.051 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.1616, allocations: 2.855 MB / 0.6417 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.1617, allocations: 19.81 kB / 0.6417 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.1618, allocations: 68 kB / 0.6417 GB, free: 15.74 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.1618, allocations: 44 kB / 0.6418 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/0.1647, allocations: 1.963 MB / 0.6437 GB, free: 13.71 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007631/0.1723, allocations: 10.68 MB / 0.6541 GB, free: 2.676 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.1749, allocations: 1.793 MB / 0.6559 GB, free: 0.7695 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000827/0.1757, allocations: 0.7252 MB / 0.6566 GB, free: 0 / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.1759, allocations: 77.02 kB / 0.6567 GB, free: 15.92 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002085/0.178, allocations: 1.541 MB / 0.6582 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 2.866e-06/0.178, allocations: 0 / 0.6582 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01399/0.192, allocations: 13.3 MB / 0.6711 GB, free: 0.8086 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/0.1922, allocations: 0.6463 MB / 0.6718 GB, free: 12 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002384/0.1946, allocations: 2.352 MB / 0.6741 GB, free: 13.65 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 9.399e-05/0.1946, allocations: 65.69 kB / 0.6741 GB, free: 13.58 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.1953, allocations: 1.124 MB / 0.6752 GB, free: 12.44 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.1957, allocations: 0.7667 MB / 0.676 GB, free: 11.67 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004746/0.1962, allocations: 0.4886 MB / 0.6765 GB, free: 11.17 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.1963, allocations: 301.1 kB / 0.6767 GB, free: 10.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00106/0.1973, allocations: 0.8495 MB / 0.6776 GB, free: 10.01 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.1987, allocations: 1.625 MB / 0.6792 GB, free: 8.047 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05/0.2487, allocations: 15.02 MB / 0.6938 GB, free: 8.656 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.2487, allocations: 11.94 kB / 0.6938 GB, free: 8.645 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00477/0.2535, allocations: 3.141 MB / 0.6969 GB, free: 5.461 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.807e-05/0.2536, allocations: 79.58 kB / 0.697 GB, free: 5.371 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003037/0.2566, allocations: 2.297 MB / 0.6992 GB, free: 3.039 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.2572, allocations: 270.3 kB / 0.6995 GB, free: 2.766 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/0.2582, allocations: 0.5499 MB / 0.7 GB, free: 2.215 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006682/0.2649, allocations: 6.086 MB / 0.706 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.266, allocations: 119.8 kB / 0.7061 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.2662, allocations: 148 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.001934/0.2681, allocations: 1.32 MB / 0.7075 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001707/0.2698, allocations: 1.613 MB / 0.7091 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05031/0.3202, allocations: 14.97 MB / 0.7237 GB, free: 8.934 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.709e-05/0.3202, allocations: 11.94 kB / 0.7237 GB, free: 8.922 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004306/0.3245, allocations: 3.066 MB / 0.7267 GB, free: 5.812 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.3245, allocations: 84.31 kB / 0.7268 GB, free: 5.719 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003148/0.3277, allocations: 2.211 MB / 0.729 GB, free: 3.473 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.3282, allocations: 258.3 kB / 0.7292 GB, free: 3.211 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009519/0.3292, allocations: 0.5538 MB / 0.7297 GB, free: 2.656 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005976/0.3352, allocations: 5.915 MB / 0.7355 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.3366, allocations: 111.8 kB / 0.7356 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.3368, allocations: 143.9 kB / 0.7358 GB, free: 12.19 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.0005958/0.3374, allocations: 404.8 kB / 0.7361 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.3377, 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.002672/0.3404, allocations: 2.259 MB / 0.7386 GB, free: 9.172 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.36367738712579] Failed to read output from testmodel.py, exit status != 0: 0.7098552975803614 0.716818038 0.565203616 Calling exit ...