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.01632/0.01632, 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.001664/0.001664, allocations: 99.84 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.002192/0.002192, allocations: 213.5 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.506/1.506, allocations: 230.6 MB / 262.1 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.036/1.036, allocations: 130.7 MB / 449.6 MB, free: 6.414 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.06561/0.06561, allocations: 20.98 MB / 0.6363 GB, free: 4.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.2394, allocations: 81.92 MB / 0.7163 GB, free: 2.172 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.5432/0.7826, allocations: 44.81 MB / 0.7601 GB, free: 21.16 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02609/0.8087, allocations: 17.54 MB / 0.7772 GB, free: 9.039 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003878/0.8125, allocations: 54.97 kB / 0.7773 GB, free: 9.016 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.004838/0.8174, allocations: 1.297 MB / 0.7785 GB, free: 8.453 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.006222/0.8236, allocations: 1.495 MB / 0.78 GB, free: 7.609 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00741/0.831, allocations: 2.082 MB / 0.782 GB, free: 6.57 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.007212/0.8382, allocations: 3.434 MB / 0.7854 GB, free: 4.91 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.841, allocations: 1.147 MB / 0.7865 GB, free: 4.211 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.8447, allocations: 1.423 MB / 0.7879 GB, free: 3.379 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003456/0.8481, allocations: 1.562 MB / 0.7894 GB, free: 2.426 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.8492, allocations: 249.3 kB / 0.7896 GB, free: 2.426 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005571/0.8548, allocations: 1.697 MB / 0.7913 GB, free: 1.609 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.8563, allocations: 0.8107 MB / 0.7921 GB, free: 1 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.00325/0.8596, allocations: 1.088 MB / 0.7932 GB, free: 264 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.872, allocations: 4.894 MB / 0.7979 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.872, allocations: 1.125 kB / 0.7979 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.244e-06/0.872, allocations: 0 / 0.7979 GB, free: 12.99 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.000194/0.8722, allocations: 0 / 0.7979 GB, free: 12.99 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.0119/0.8841, allocations: 3.936 MB / 0.8018 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.8842, allocations: 9.406 kB / 0.8018 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.8858, allocations: 415.2 kB / 0.8022 GB, free: 9.93 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007083/0.8929, allocations: 2.843 MB / 0.805 GB, free: 7.254 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.8931, allocations: 115.3 kB / 0.8051 GB, free: 7.141 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005999/0.8937, allocations: 162.7 kB / 0.8052 GB, free: 6.984 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00894/0.9026, allocations: 2.858 MB / 0.808 GB, free: 3.758 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.9027, allocations: 11.88 kB / 0.808 GB, free: 3.746 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005138/0.9033, allocations: 72 kB / 0.8081 GB, free: 3.676 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.045e-05/0.9033, allocations: 40 kB / 0.8081 GB, free: 3.637 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006444/0.9098, allocations: 1.968 MB / 0.8101 GB, free: 1.652 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.9267, allocations: 10.71 MB / 0.8205 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005335/0.932, allocations: 1.788 MB / 0.8223 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.9336, allocations: 0.7303 MB / 0.823 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.9339, allocations: 80.84 kB / 0.8231 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003798/0.9377, allocations: 1.535 MB / 0.8246 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 4.258e-06/0.9377, allocations: 0 / 0.8246 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02667/0.9643, allocations: 13.3 MB / 0.8376 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005319/0.9649, allocations: 0.645 MB / 0.8382 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/0.9689, allocations: 2.359 MB / 0.8405 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004349/0.9693, allocations: 54.36 kB / 0.8405 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.9705, allocations: 1.132 MB / 0.8416 GB, free: 432 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.9715, allocations: 0.7747 MB / 0.8424 GB, free: 15.64 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008366/0.9724, allocations: 0.4964 MB / 0.8429 GB, free: 15.13 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.9725, allocations: 304.9 kB / 0.8432 GB, free: 14.84 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.9744, allocations: 0.8521 MB / 0.844 GB, free: 13.97 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.9772, allocations: 1.613 MB / 0.8456 GB, free: 12.02 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1089/1.086, allocations: 15.01 MB / 0.8602 GB, free: 13.49 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.071e-05/1.086, allocations: 8 kB / 0.8602 GB, free: 13.48 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008454/1.095, allocations: 3.149 MB / 0.8633 GB, free: 10.3 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.095, allocations: 79.39 kB / 0.8634 GB, free: 10.21 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005487/1.1, allocations: 2.298 MB / 0.8656 GB, free: 7.883 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/1.101, allocations: 270.8 kB / 0.8659 GB, free: 7.613 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/1.103, allocations: 0.5499 MB / 0.8664 GB, free: 7.062 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.116, allocations: 6.106 MB / 0.8724 GB, free: 0.6562 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/1.118, allocations: 123.6 kB / 0.8725 GB, free: 0.5352 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/1.118, allocations: 143.9 kB / 0.8727 GB, free: 404 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.003009/1.121, allocations: 1.324 MB / 0.8739 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002473/1.124, allocations: 1.609 MB / 0.8755 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1086/1.232, allocations: 14.96 MB / 0.8901 GB, free: 13.82 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.525e-05/1.232, allocations: 8 kB / 0.8901 GB, free: 13.81 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007292/1.24, allocations: 3.065 MB / 0.8931 GB, free: 10.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.352e-05/1.24, allocations: 83.38 kB / 0.8932 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005086/1.245, allocations: 2.208 MB / 0.8954 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/1.246, allocations: 250.4 kB / 0.8956 GB, free: 8.129 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.248, allocations: 0.5538 MB / 0.8961 GB, free: 7.574 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/1.26, allocations: 5.922 MB / 0.9019 GB, free: 1.363 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/1.262, allocations: 123.8 kB / 0.902 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/1.262, allocations: 143.9 kB / 0.9022 GB, free: 1.102 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.0008197/1.263, allocations: 407.3 kB / 0.9026 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006987/1.264, allocations: 294.1 kB / 0.9029 GB, free: 408 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.004673/1.268, allocations: 2.261 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: 5.173116844147444] Failed to read output from testmodel.py, exit status != 0: 1.4574441001750529 1.473915234 0.598389463 Calling exit ...