Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01236/0.01236, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001493/0.001493, allocations: 99.77 kB / 24.18 MB, free: 2.438 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.001763/0.001763, allocations: 209.1 kB / 27.9 MB, free: 3.742 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.41/1.41, allocations: 230.6 MB / 262.1 MB, free: 5.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.011/1.011, allocations: 130.8 MB / 449.7 MB, free: 6.348 MB / 350.1 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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_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_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.06354/0.06354, allocations: 20.99 MB / 0.6364 GB, free: 4.18 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.2182, allocations: 81.91 MB / 0.7164 GB, free: 2.168 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.4652/0.6834, allocations: 44.82 MB / 0.7601 GB, free: 21.1 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02606/0.7095, allocations: 17.53 MB / 0.7772 GB, free: 8.98 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002672/0.7121, allocations: 56.53 kB / 0.7773 GB, free: 8.957 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.003649/0.7158, allocations: 1.299 MB / 0.7786 GB, free: 8.391 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004961/0.7207, allocations: 1.501 MB / 0.78 GB, free: 7.543 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005601/0.7263, allocations: 2.081 MB / 0.7821 GB, free: 6.504 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.00514/0.7315, allocations: 3.425 MB / 0.7854 GB, free: 4.855 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.7331, allocations: 1.161 MB / 0.7865 GB, free: 4.188 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.7353, allocations: 1.412 MB / 0.7879 GB, free: 3.367 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.7373, allocations: 1.569 MB / 0.7894 GB, free: 2.406 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004268/0.7378, allocations: 249.7 kB / 0.7897 GB, free: 2.406 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.7417, allocations: 1.686 MB / 0.7913 GB, free: 1.598 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006576/0.7424, allocations: 0.8117 MB / 0.7921 GB, free: 0.9844 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.7435, allocations: 1.086 MB / 0.7932 GB, free: 248 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.009058/0.7525, allocations: 4.896 MB / 0.798 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.7525, allocations: 3.984 kB / 0.798 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7526, allocations: 0 / 0.798 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.925e-05/0.7526, allocations: 2.656 kB / 0.798 GB, free: 12.97 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.00866/0.7613, allocations: 3.931 MB / 0.8018 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7613, allocations: 11.81 kB / 0.8018 GB, free: 10.14 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.7625, allocations: 406.2 kB / 0.8022 GB, free: 9.918 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.7677, allocations: 2.85 MB / 0.805 GB, free: 7.246 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.7679, allocations: 123.2 kB / 0.8051 GB, free: 7.125 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.7681, allocations: 156.1 kB / 0.8053 GB, free: 6.973 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005523/0.7736, allocations: 2.854 MB / 0.808 GB, free: 3.75 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/0.7737, allocations: 11.88 kB / 0.8081 GB, free: 3.738 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.7738, allocations: 74.67 kB / 0.8081 GB, free: 3.668 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.572e-05/0.7739, allocations: 44 kB / 0.8082 GB, free: 3.625 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004912/0.7788, allocations: 1.962 MB / 0.8101 GB, free: 1.645 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.7914, allocations: 10.72 MB / 0.8206 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.796, allocations: 1.785 MB / 0.8223 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.7974, allocations: 0.7251 MB / 0.823 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.7977, allocations: 72.91 kB / 0.8231 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003563/0.8013, allocations: 1.539 MB / 0.8246 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.298e-06/0.8013, allocations: 0 / 0.8246 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02474/0.826, allocations: 13.31 MB / 0.8376 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004661/0.8265, allocations: 0.6501 MB / 0.8382 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003696/0.8302, allocations: 2.359 MB / 0.8405 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002965/0.8305, allocations: 53.7 kB / 0.8406 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.8315, allocations: 1.129 MB / 0.8417 GB, free: 424 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008334/0.8323, allocations: 0.7747 MB / 0.8424 GB, free: 15.63 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007821/0.8331, allocations: 0.4965 MB / 0.8429 GB, free: 15.12 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.8333, allocations: 307.5 kB / 0.8432 GB, free: 14.83 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.835, allocations: 0.8456 MB / 0.844 GB, free: 13.97 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/0.8374, allocations: 1.617 MB / 0.8456 GB, free: 12.01 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1064/0.9438, allocations: 15.02 MB / 0.8603 GB, free: 13.48 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.888e-05/0.9438, allocations: 8 kB / 0.8603 GB, free: 13.47 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008241/0.9521, allocations: 3.138 MB / 0.8633 GB, free: 10.29 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.9522, allocations: 83.39 kB / 0.8634 GB, free: 10.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005402/0.9576, allocations: 2.293 MB / 0.8657 GB, free: 7.879 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.9588, allocations: 280 kB / 0.8659 GB, free: 7.602 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.9606, allocations: 0.5576 MB / 0.8665 GB, free: 7.043 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.9726, allocations: 6.095 MB / 0.8724 GB, free: 0.6406 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.9747, allocations: 118.3 kB / 0.8725 GB, free: 0.5273 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004265/0.9751, allocations: 147.3 kB / 0.8727 GB, free: 396 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.003148/0.9783, allocations: 1.334 MB / 0.874 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002513/0.9808, allocations: 1.608 MB / 0.8755 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1069/1.088, allocations: 14.96 MB / 0.8902 GB, free: 13.81 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.753e-05/1.088, allocations: 8 kB / 0.8902 GB, free: 13.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00741/1.095, allocations: 3.062 MB / 0.8932 GB, free: 10.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/1.095, allocations: 80.8 kB / 0.8932 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004946/1.1, allocations: 2.216 MB / 0.8954 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/1.101, allocations: 263.2 kB / 0.8956 GB, free: 8.109 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.103, allocations: 0.5537 MB / 0.8962 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/1.114, allocations: 5.91 MB / 0.902 GB, free: 1.352 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.116, allocations: 123.8 kB / 0.9021 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/1.116, allocations: 146.7 kB / 0.9022 GB, free: 1.09 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.0008332/1.117, allocations: 404 kB / 0.9026 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000773/1.118, allocations: 302 kB / 0.9029 GB, free: 392 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.004588/1.123, allocations: 2.256 MB / 0.9051 GB, free: 14.16 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.835169827565551] Failed to read output from testmodel.py, exit status != 0: 1.2909262850880623 1.305740223 0.550102636 Calling exit ...