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.01283/0.01283, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 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.001617/0.001617, allocations: 104.3 kB / 24.93 MB, free: 2.031 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.001644/0.001644, allocations: 210 kB / 28.65 MB, free: 3.297 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.622/1.622, allocations: 230.6 MB / 262.8 MB, free: 5.836 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.169/1.169, allocations: 130.7 MB / 450.4 MB, free: 6.633 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.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: 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.07206/0.07206, allocations: 20.99 MB / 0.6371 GB, free: 4.219 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.278, allocations: 81.9 MB / 0.7171 GB, free: 2.227 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.Electrical.Check.TestAsynchronousMotorWithPump): time 0.6109/0.8889, allocations: 44.82 MB / 0.7608 GB, free: 21.17 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03658/0.9255, allocations: 17.53 MB / 0.7779 GB, free: 9.055 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.9293, allocations: 59.5 kB / 0.778 GB, free: 9.027 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.005176/0.9345, allocations: 1.305 MB / 0.7793 GB, free: 8.457 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.007368/0.9419, allocations: 1.487 MB / 0.7807 GB, free: 7.617 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.008099/0.95, allocations: 2.077 MB / 0.7828 GB, free: 6.582 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007667/0.9576, allocations: 3.438 MB / 0.7861 GB, free: 4.926 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.96, allocations: 1.156 MB / 0.7872 GB, free: 4.207 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.9631, allocations: 1.418 MB / 0.7886 GB, free: 3.383 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.9664, allocations: 1.571 MB / 0.7902 GB, free: 2.418 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0008843/0.9673, allocations: 249.6 kB / 0.7904 GB, free: 2.418 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.9723, allocations: 1.676 MB / 0.792 GB, free: 1.613 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.9734, allocations: 0.8122 MB / 0.7928 GB, free: 1 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.9752, allocations: 1.086 MB / 0.7939 GB, free: 264 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.9866, allocations: 4.901 MB / 0.7987 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.9866, allocations: 0 / 0.7987 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9866, allocations: 0 / 0.7987 GB, free: 12.98 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001432/0.9867, allocations: 1.469 kB / 0.7987 GB, free: 12.98 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.01067/0.9974, allocations: 3.933 MB / 0.8025 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.9974, allocations: 8.812 kB / 0.8025 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.999, allocations: 409.4 kB / 0.8029 GB, free: 9.93 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007061/1.006, allocations: 2.857 MB / 0.8057 GB, free: 7.262 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/1.006, allocations: 115.3 kB / 0.8058 GB, free: 7.148 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003052/1.006, allocations: 156.1 kB / 0.806 GB, free: 6.996 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006547/1.013, allocations: 2.861 MB / 0.8088 GB, free: 3.77 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.188e-05/1.013, allocations: 15.88 kB / 0.8088 GB, free: 3.754 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/1.013, allocations: 68 kB / 0.8088 GB, free: 3.688 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/1.013, allocations: 44.56 kB / 0.8089 GB, free: 3.645 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005637/1.019, allocations: 1.967 MB / 0.8108 GB, free: 1.664 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/1.035, allocations: 10.71 MB / 0.8213 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0053/1.04, allocations: 1.785 MB / 0.823 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/1.042, allocations: 0.7278 MB / 0.8237 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/1.042, allocations: 76.89 kB / 0.8238 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004071/1.046, allocations: 1.534 MB / 0.8253 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.579e-06/1.046, allocations: 0 / 0.8253 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02643/1.072, allocations: 13.31 MB / 0.8383 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004569/1.073, allocations: 0.6424 MB / 0.8389 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004014/1.077, allocations: 2.359 MB / 0.8412 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004591/1.077, allocations: 53.7 kB / 0.8413 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/1.079, allocations: 1.131 MB / 0.8424 GB, free: 448 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.08, allocations: 0.7747 MB / 0.8431 GB, free: 15.65 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008711/1.081, allocations: 0.4965 MB / 0.8436 GB, free: 15.15 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.081, allocations: 304.9 kB / 0.8439 GB, free: 14.85 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/1.083, allocations: 0.8417 MB / 0.8447 GB, free: 14 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/1.085, allocations: 1.627 MB / 0.8463 GB, free: 12.03 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1091/1.194, allocations: 15.01 MB / 0.861 GB, free: 13.5 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/1.194, allocations: 8 kB / 0.861 GB, free: 13.49 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008023/1.203, allocations: 3.141 MB / 0.864 GB, free: 10.31 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.203, allocations: 77.3 kB / 0.8641 GB, free: 10.23 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005467/1.208, allocations: 2.299 MB / 0.8664 GB, free: 7.906 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/1.209, allocations: 278.9 kB / 0.8666 GB, free: 7.625 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/1.211, allocations: 0.5499 MB / 0.8672 GB, free: 7.074 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/1.224, allocations: 6.107 MB / 0.8731 GB, free: 0.668 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.227, allocations: 115.7 kB / 0.8732 GB, free: 0.5547 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/1.227, allocations: 144.1 kB / 0.8734 GB, free: 424 kB / 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.003246/1.23, allocations: 1.329 MB / 0.8747 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002601/1.233, allocations: 1.613 MB / 0.8763 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1066/1.339, allocations: 14.96 MB / 0.8909 GB, free: 13.83 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.009e-05/1.339, allocations: 8 kB / 0.8909 GB, free: 13.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007606/1.347, allocations: 3.058 MB / 0.8939 GB, free: 10.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.463e-05/1.347, allocations: 80.33 kB / 0.8939 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005053/1.352, allocations: 2.214 MB / 0.8961 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/1.353, allocations: 254.3 kB / 0.8963 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.355, allocations: 0.5538 MB / 0.8969 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/1.367, allocations: 5.923 MB / 0.9027 GB, free: 1.375 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/1.37, allocations: 119.6 kB / 0.9028 GB, free: 1.258 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/1.37, allocations: 143.9 kB / 0.9029 GB, free: 1.117 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.0009859/1.371, allocations: 408.9 kB / 0.9033 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007649/1.372, allocations: 294.1 kB / 0.9036 GB, free: 424 kB / 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.004838/1.377, allocations: 2.255 MB / 0.9058 GB, free: 14.18 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.728686742950231] Failed to read output from testmodel.py, exit status != 0: 1.60345945879817 1.618822239 0.628791244 Calling exit ...