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.01623/0.01623, 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.001701/0.001701, allocations: 108.8 kB / 24.19 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.002448/0.002448, 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.414/1.414, allocations: 230.6 MB / 262.1 MB, free: 5.859 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.038/1.038, allocations: 130.7 MB / 449.6 MB, free: 6.41 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.06558/0.06558, allocations: 20.98 MB / 0.6363 GB, free: 4.199 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.2353, allocations: 81.92 MB / 0.7163 GB, free: 2.199 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.4733/0.7086, allocations: 44.81 MB / 0.7601 GB, free: 21.15 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02367/0.7323, allocations: 17.53 MB / 0.7772 GB, free: 9.027 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.7349, allocations: 62.91 kB / 0.7773 GB, free: 9 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.003776/0.7387, allocations: 1.289 MB / 0.7785 GB, free: 8.441 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004394/0.7431, allocations: 1.497 MB / 0.78 GB, free: 7.594 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005322/0.7484, allocations: 2.084 MB / 0.782 GB, free: 6.555 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005062/0.7535, allocations: 3.429 MB / 0.7854 GB, free: 4.902 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.7551, allocations: 1.154 MB / 0.7865 GB, free: 4.219 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.7572, allocations: 1.418 MB / 0.7879 GB, free: 3.391 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.7591, allocations: 1.564 MB / 0.7894 GB, free: 2.434 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004023/0.7595, allocations: 252.2 kB / 0.7897 GB, free: 2.434 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/0.7632, allocations: 1.688 MB / 0.7913 GB, free: 1.621 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0005886/0.7638, allocations: 0.8076 MB / 0.7921 GB, free: 1.012 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0009839/0.7648, allocations: 1.089 MB / 0.7932 GB, free: 272 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.007764/0.7726, allocations: 4.891 MB / 0.7979 GB, free: 13 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7726, allocations: 4.062 kB / 0.7979 GB, free: 13 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7726, allocations: 3.938 kB / 0.7979 GB, free: 13 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.251e-05/0.7727, allocations: 0 / 0.7979 GB, free: 13 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.007527/0.7802, allocations: 3.937 MB / 0.8018 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.7802, allocations: 9.625 kB / 0.8018 GB, free: 10.16 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7814, allocations: 411.1 kB / 0.8022 GB, free: 9.938 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005418/0.7868, allocations: 2.846 MB / 0.805 GB, free: 7.246 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.7869, allocations: 119.3 kB / 0.8051 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.7872, allocations: 156.1 kB / 0.8052 GB, free: 6.977 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005514/0.7927, allocations: 2.857 MB / 0.808 GB, free: 3.754 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.59e-05/0.7927, allocations: 15.88 kB / 0.808 GB, free: 3.738 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.7929, allocations: 68 kB / 0.8081 GB, free: 3.672 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.7929, allocations: 44 kB / 0.8081 GB, free: 3.629 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004897/0.7978, allocations: 1.967 MB / 0.8101 GB, free: 1.648 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.8106, allocations: 10.72 MB / 0.8205 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004601/0.8152, allocations: 1.785 MB / 0.8223 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.8166, allocations: 0.7277 MB / 0.823 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.8169, allocations: 72.91 kB / 0.823 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003642/0.8205, allocations: 1.537 MB / 0.8245 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 5.01e-06/0.8205, allocations: 2.562 kB / 0.8245 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.02418/0.8447, allocations: 13.31 MB / 0.8375 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003591/0.845, allocations: 0.6393 MB / 0.8382 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003275/0.8483, allocations: 2.359 MB / 0.8405 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002029/0.8485, allocations: 60.36 kB / 0.8405 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009976/0.8495, allocations: 1.128 MB / 0.8416 GB, free: 424 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007339/0.8502, allocations: 0.7745 MB / 0.8424 GB, free: 15.63 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007226/0.851, allocations: 0.5003 MB / 0.8429 GB, free: 15.12 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8511, allocations: 305.1 kB / 0.8432 GB, free: 14.82 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.8528, allocations: 0.8417 MB / 0.844 GB, free: 13.97 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.8551, allocations: 1.631 MB / 0.8456 GB, free: 12 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1054/0.9605, allocations: 15 MB / 0.8602 GB, free: 13.48 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.441e-05/0.9605, allocations: 8 kB / 0.8602 GB, free: 13.47 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007892/0.9684, allocations: 3.144 MB / 0.8633 GB, free: 10.29 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.094e-05/0.9685, allocations: 75.39 kB / 0.8634 GB, free: 10.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005416/0.9739, allocations: 2.302 MB / 0.8656 GB, free: 7.875 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.975, allocations: 274.3 kB / 0.8659 GB, free: 7.598 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.9769, allocations: 0.5499 MB / 0.8664 GB, free: 7.047 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.9889, allocations: 6.107 MB / 0.8724 GB, free: 0.6406 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.9909, allocations: 119.7 kB / 0.8725 GB, free: 0.5234 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/0.9914, allocations: 147.9 kB / 0.8726 GB, free: 388 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.003169/0.9946, allocations: 1.331 MB / 0.8739 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002549/0.9971, allocations: 1.609 MB / 0.8755 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1062/1.103, allocations: 14.96 MB / 0.8901 GB, free: 13.81 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-05/1.103, allocations: 8 kB / 0.8901 GB, free: 13.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.0078/1.111, allocations: 3.058 MB / 0.8931 GB, free: 10.71 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.733e-05/1.111, allocations: 79.38 kB / 0.8932 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005201/1.116, allocations: 2.211 MB / 0.8954 GB, free: 8.383 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/1.117, allocations: 263.1 kB / 0.8956 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/1.119, allocations: 0.5576 MB / 0.8961 GB, free: 7.559 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.131, allocations: 5.914 MB / 0.9019 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/1.133, allocations: 119.8 kB / 0.902 GB, free: 1.238 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004782/1.133, allocations: 145.2 kB / 0.9022 GB, free: 1.098 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.0009715/1.134, allocations: 412.6 kB / 0.9026 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/1.135, allocations: 298.1 kB / 0.9029 GB, free: 396 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.005095/1.14, allocations: 2.252 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.9891797341406345] Failed to read output from testmodel.py, exit status != 0: 1.3247743449173868 1.339997085 0.564294618 Calling exit ...