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.0167/0.0167, allocations: 1.757 MB / 20.6 MB, free: 0.8828 MB / 14.72 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.00188/0.00188, allocations: 103.5 kB / 24.18 MB, free: 2.184 MB / 14.72 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.002403/0.002403, allocations: 217.9 kB / 27.9 MB, free: 3.504 MB / 19.63 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 1.431/1.431, allocations: 230.6 MB / 262.1 MB, free: 5.863 MB / 206.1 MB " [Timeout remaining time 178] 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 1.093/1.093, allocations: 130.7 MB / 449.6 MB, free: 6.418 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.06511/0.06511, allocations: 20.99 MB / 0.6363 GB, free: 4.355 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.2451, allocations: 81.91 MB / 0.7163 GB, free: 2.359 MB / 0.5294 GB 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.5381/0.7832, allocations: 44.79 MB / 0.76 GB, free: 21.2 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02678/0.81, allocations: 17.53 MB / 0.7772 GB, free: 9.082 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003488/0.8135, allocations: 56.19 kB / 0.7772 GB, free: 9.059 MB / 0.5607 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.004495/0.818, allocations: 1.302 MB / 0.7785 GB, free: 8.488 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.00557/0.8236, allocations: 1.493 MB / 0.7799 GB, free: 7.648 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005964/0.8295, allocations: 2.091 MB / 0.782 GB, free: 6.605 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005457/0.835, allocations: 3.42 MB / 0.7853 GB, free: 4.957 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.8366, allocations: 1.157 MB / 0.7865 GB, free: 4.285 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001999/0.8386, allocations: 1.419 MB / 0.7878 GB, free: 3.457 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.8404, allocations: 1.569 MB / 0.7894 GB, free: 2.496 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.000411/0.8408, allocations: 251.9 kB / 0.7896 GB, free: 2.496 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/0.8447, allocations: 1.684 MB / 0.7913 GB, free: 1.688 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0005909/0.8453, allocations: 0.8037 MB / 0.792 GB, free: 1.082 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0009582/0.8463, allocations: 1.089 MB / 0.7931 GB, free: 344 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007626/0.8539, allocations: 4.903 MB / 0.7979 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.8539, allocations: 2.625 kB / 0.7979 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8539, allocations: 2.344 kB / 0.7979 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.611e-05/0.854, allocations: 1.406 kB / 0.7979 GB, free: 13.06 MB / 0.5763 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.00861/0.8626, allocations: 3.941 MB / 0.8018 GB, free: 10.22 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8626, allocations: 8.656 kB / 0.8018 GB, free: 10.22 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.8637, allocations: 410.1 kB / 0.8022 GB, free: 9.996 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005362/0.8691, allocations: 2.852 MB / 0.8049 GB, free: 7.391 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.8692, allocations: 119.2 kB / 0.805 GB, free: 7.273 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.8694, allocations: 164.1 kB / 0.8052 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/0.875, allocations: 2.849 MB / 0.808 GB, free: 3.898 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.784e-05/0.8751, allocations: 15.88 kB / 0.808 GB, free: 3.883 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.8752, allocations: 68 kB / 0.8081 GB, free: 3.816 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/0.8753, allocations: 47.98 kB / 0.8081 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.8803, allocations: 1.957 MB / 0.81 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.8933, allocations: 10.73 MB / 0.8205 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004682/0.898, allocations: 1.781 MB / 0.8222 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.8994, allocations: 0.7354 MB / 0.823 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.8997, allocations: 76.89 kB / 0.823 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003704/0.9034, allocations: 1.53 MB / 0.8245 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.309e-06/0.9034, allocations: 0 / 0.8245 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02506/0.9284, allocations: 13.31 MB / 0.8375 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000402/0.9288, allocations: 0.6423 MB / 0.8382 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/0.9323, allocations: 2.355 MB / 0.8405 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.9326, allocations: 61.69 kB / 0.8405 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/0.9336, allocations: 1.127 MB / 0.8416 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007948/0.9344, allocations: 0.7747 MB / 0.8424 GB, free: 15.77 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007647/0.9352, allocations: 0.4971 MB / 0.8429 GB, free: 15.27 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9353, allocations: 304.9 kB / 0.8431 GB, free: 14.97 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.9371, allocations: 0.8417 MB / 0.844 GB, free: 14.12 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/0.9396, allocations: 1.623 MB / 0.8456 GB, free: 12.15 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.107/1.047, allocations: 15.01 MB / 0.8602 GB, free: 13.63 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.117e-05/1.047, allocations: 11.94 kB / 0.8602 GB, free: 13.62 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007307/1.054, allocations: 3.145 MB / 0.8633 GB, free: 10.44 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/1.054, allocations: 75.39 kB / 0.8634 GB, free: 10.35 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005233/1.059, allocations: 2.297 MB / 0.8656 GB, free: 8.027 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.06, allocations: 264.7 kB / 0.8659 GB, free: 7.762 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/1.062, allocations: 0.5654 MB / 0.8664 GB, free: 7.195 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/1.074, allocations: 6.103 MB / 0.8724 GB, free: 0.793 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/1.077, allocations: 119.8 kB / 0.8725 GB, free: 0.6758 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003071/1.077, allocations: 143.9 kB / 0.8726 GB, free: 0.5352 MB / 0.6388 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.003062/1.08, allocations: 1.324 MB / 0.8739 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002475/1.083, allocations: 1.609 MB / 0.8755 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1082/1.191, allocations: 14.97 MB / 0.8901 GB, free: 13.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.709e-05/1.191, allocations: 8 kB / 0.8901 GB, free: 13.94 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007047/1.198, allocations: 3.054 MB / 0.8931 GB, free: 10.85 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/1.198, allocations: 75.61 kB / 0.8932 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004918/1.203, allocations: 2.215 MB / 0.8953 GB, free: 8.523 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/1.204, allocations: 254.4 kB / 0.8956 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.206, allocations: 0.5564 MB / 0.8961 GB, free: 7.711 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/1.217, allocations: 5.916 MB / 0.9019 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/1.219, allocations: 115.6 kB / 0.902 GB, free: 1.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/1.219, allocations: 143.9 kB / 0.9021 GB, free: 1.25 MB / 0.67 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.000815/1.22, allocations: 413.2 kB / 0.9025 GB, free: 0.832 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/1.221, allocations: 290.1 kB / 0.9028 GB, free: 0.5469 MB / 0.67 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.004477/1.225, allocations: 2.264 MB / 0.905 GB, free: 14.31 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.186331930104643] Failed to read output from testmodel.py, exit status != 0: 1.412410776130855 1.426972395 0.570010185 Calling exit ...