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.01034/0.01034, allocations: 1.769 MB / 18.12 MB, free: 4.906 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.001175/0.001175, allocations: 99.72 kB / 21.35 MB, free: 1.699 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.001451/0.001451, allocations: 214.2 kB / 24.75 MB, free: 3.715 MB / 14.72 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.512/1.512, allocations: 230.6 MB / 258.5 MB, free: 13.14 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.147/1.147, allocations: 130.6 MB / 445.6 MB, free: 14.94 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4546/0.4546, allocations: 46.15 MB / 0.655 GB, free: 30.54 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.6564, allocations: 89.05 MB / 0.7419 GB, free: 2.414 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump): time 0.01735/0.6738, allocations: 13.07 MB / 0.7547 GB, free: 5.289 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02985/0.7036, allocations: 18.11 MB / 0.7724 GB, free: 3.117 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/0.7063, allocations: 63.56 kB / 0.7725 GB, free: 3.055 MB / 0.5763 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.003989/0.7103, allocations: 1.329 MB / 0.7738 GB, free: 1.719 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.004838/0.7152, allocations: 1.465 MB / 0.7752 GB, free: 252 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.006087/0.7212, allocations: 2.017 MB / 0.7772 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006706/0.728, allocations: 3.422 MB / 0.7805 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002169/0.7301, allocations: 1.113 MB / 0.7816 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002597/0.7327, allocations: 1.42 MB / 0.783 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002941/0.7357, allocations: 1.676 MB / 0.7846 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006159/0.7363, allocations: 255.9 kB / 0.7848 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005367/0.7416, allocations: 2.179 MB / 0.787 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.7427, allocations: 0.8056 MB / 0.7878 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001868/0.7446, allocations: 1.406 MB / 0.7891 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.7546, allocations: 4.966 MB / 0.794 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.7546, allocations: 0 / 0.794 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.775e-06/0.7546, allocations: 0 / 0.794 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.414e-05/0.7547, allocations: 0 / 0.794 GB, free: 12.91 MB / 0.6075 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.008309/0.763, allocations: 3.688 MB / 0.7976 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7631, allocations: 12.03 kB / 0.7976 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.7643, allocations: 406.6 kB / 0.798 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006148/0.7705, allocations: 2.95 MB / 0.8009 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.7706, allocations: 119.3 kB / 0.801 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/0.7709, allocations: 164 kB / 0.8011 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00607/0.777, allocations: 2.57 MB / 0.8036 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.214e-05/0.777, allocations: 15.88 kB / 0.8037 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.7771, allocations: 68 kB / 0.8037 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.7772, allocations: 44 kB / 0.8038 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005288/0.7825, allocations: 1.913 MB / 0.8056 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.7968, allocations: 11.63 MB / 0.817 GB, free: 4.457 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005044/0.8018, allocations: 1.955 MB / 0.8189 GB, free: 2.348 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.8033, allocations: 0.663 MB / 0.8196 GB, free: 1.652 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/0.8036, allocations: 165.9 kB / 0.8197 GB, free: 1.473 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003887/0.8075, allocations: 1.479 MB / 0.8212 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=225): time 1.325e-05/0.8075, allocations: 0 / 0.8212 GB, free: 15.91 MB / 0.6388 GB Notification: Performance of matching and sorting (n=229): time 0.02601/0.8335, allocations: 13.4 MB / 0.8342 GB, free: 2.305 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004252/0.834, allocations: 0.6424 MB / 0.8349 GB, free: 1.512 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003687/0.8377, allocations: 2.403 MB / 0.8372 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003275/0.838, allocations: 53.7 kB / 0.8373 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.8391, allocations: 1.117 MB / 0.8384 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008865/0.84, allocations: 0.7784 MB / 0.8391 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008227/0.8408, allocations: 0.4965 MB / 0.8396 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8409, allocations: 305.1 kB / 0.8399 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.8427, allocations: 0.7837 MB / 0.8407 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.8451, allocations: 1.484 MB / 0.8421 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1196/0.9647, allocations: 14.99 MB / 0.8568 GB, free: 10.37 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.9647, allocations: 8 kB / 0.8568 GB, free: 10.36 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007529/0.9722, allocations: 3.075 MB / 0.8598 GB, free: 7.254 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.9724, allocations: 79.39 kB / 0.8598 GB, free: 7.164 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005504/0.9779, allocations: 2.22 MB / 0.862 GB, free: 4.922 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.9791, allocations: 278.3 kB / 0.8623 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001891/0.981, allocations: 0.5537 MB / 0.8628 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5018/1.483, allocations: 6.501 MB / 0.8692 GB, free: 116.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/1.485, allocations: 116.3 kB / 0.8693 GB, free: 116.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003871/1.486, allocations: 145.9 kB / 0.8694 GB, free: 116.2 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003107/1.489, allocations: 1.26 MB / 0.8706 GB, free: 116.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001993/1.491, allocations: 1.473 MB / 0.8721 GB, free: 115.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1088/1.6, allocations: 14.95 MB / 0.8867 GB, free: 113.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.583e-05/1.6, allocations: 10.84 kB / 0.8867 GB, free: 113.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007447/1.607, allocations: 2.984 MB / 0.8896 GB, free: 112.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/1.607, allocations: 82.33 kB / 0.8897 GB, free: 112.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005179/1.612, allocations: 2.146 MB / 0.8918 GB, free: 112.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.613, allocations: 256.4 kB / 0.892 GB, free: 112 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/1.615, allocations: 0.554 MB / 0.8926 GB, free: 112 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/1.626, allocations: 6.328 MB / 0.8987 GB, free: 106.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.628, allocations: 108.6 kB / 0.8988 GB, free: 106.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/1.629, allocations: 145 kB / 0.899 GB, free: 106.6 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.0008595/1.629, allocations: 413.5 kB / 0.8994 GB, free: 106.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006413/1.63, allocations: 300.8 kB / 0.8997 GB, free: 106.3 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.00455/1.635, allocations: 2.256 MB / 0.9019 GB, free: 105.2 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.377713328998652] Failed to read output from testmodel.py, exit status != 0: 1.6440128039976116 1.654622008 0.89729417 Calling exit ...