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.01023/0.01023, allocations: 1.791 MB / 21.89 MB, free: 2.637 MB / 18.57 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.0007407/0.0007407, allocations: 92.08 kB / 25.62 MB, free: 6.438 MB / 18.57 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.0008422/0.0008422, allocations: 169.2 kB / 29.46 MB, free: 3.023 MB / 18.57 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 0.8936/0.8936, allocations: 177.1 MB / 210.3 MB, free: 1.734 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6856/0.6856, allocations: 102.5 MB / 369.8 MB, free: 0.9336 MB / 330.8 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 1.0.0 (/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: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 3.938 kB / 469.9 MB, free: 12.94 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.466e-05/1.598e-05, allocations: 2.312 kB / 469.9 MB, free: 12.93 MB / 442.8 MB 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.2721/0.2721, allocations: 62.08 MB / 0.5195 GB, free: 73.65 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.287, allocations: 17.98 MB / 0.5371 GB, free: 65.72 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009127/0.2879, allocations: 59.31 kB / 0.5371 GB, free: 65.7 MB / 490.8 MB [/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.001921/0.2898, allocations: 1.305 MB / 0.5384 GB, free: 65.12 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.2915, allocations: 1.536 MB / 0.5399 GB, free: 64.23 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.294, allocations: 2.099 MB / 0.542 GB, free: 63.17 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.296, allocations: 3.523 MB / 0.5454 GB, free: 61.41 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.297, allocations: 1.239 MB / 0.5466 GB, free: 60.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.2986, allocations: 1.914 MB / 0.5485 GB, free: 59.79 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.3, allocations: 1.361 MB / 0.5498 GB, free: 59.36 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.3003, allocations: 251.5 kB / 0.55 GB, free: 59.36 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002209/0.3025, allocations: 1.699 MB / 0.5517 GB, free: 58.88 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004924/0.303, allocations: 0.8295 MB / 0.5525 GB, free: 58.4 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0007665/0.3037, allocations: 0.8579 MB / 0.5534 GB, free: 57.98 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.3073, allocations: 3.67 MB / 0.5569 GB, free: 56.45 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3073, allocations: 0.5312 kB / 0.5569 GB, free: 56.45 MB / 490.8 MB Notification: Performance of FrontEnd: time 9.01e-07/0.3073, allocations: 1.875 kB / 0.5569 GB, free: 56.45 MB / 490.8 MB Notification: Performance of Transformations before backend: time 3.526e-05/0.3074, allocations: 0 / 0.5569 GB, free: 56.45 MB / 490.8 MB 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.004267/0.3116, allocations: 4.127 MB / 0.561 GB, free: 53.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3117, allocations: 15.16 kB / 0.561 GB, free: 53.87 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008036/0.3125, allocations: 0.5126 MB / 0.5615 GB, free: 53.64 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.3154, allocations: 2.584 MB / 0.564 GB, free: 52.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.3154, allocations: 118.5 kB / 0.5641 GB, free: 52.26 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.3156, allocations: 163 kB / 0.5643 GB, free: 52.21 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/0.3186, allocations: 2.635 MB / 0.5669 GB, free: 50.13 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/0.3186, allocations: 17.28 kB / 0.5669 GB, free: 50.12 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.3187, allocations: 72.28 kB / 0.5669 GB, free: 50.07 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.3188, allocations: 46.62 kB / 0.567 GB, free: 50.07 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.321, allocations: 1.305 MB / 0.5683 GB, free: 49.52 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.3268, allocations: 14.33 MB / 0.5823 GB, free: 36.18 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.329, allocations: 1.461 MB / 0.5837 GB, free: 35.3 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.3295, allocations: 492.2 kB / 0.5841 GB, free: 35 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.3297, allocations: 78.5 kB / 0.5842 GB, free: 34.98 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.3316, allocations: 1.267 MB / 0.5855 GB, free: 34.13 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 3.868e-06/0.3316, allocations: 0.5625 kB / 0.5855 GB, free: 34.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.01084/0.3424, allocations: 11.69 MB / 0.5969 GB, free: 22.72 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.3425, allocations: 0.6423 MB / 0.5975 GB, free: 21.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.3442, allocations: 2.194 MB / 0.5996 GB, free: 19.73 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/0.3443, allocations: 53.7 kB / 0.5997 GB, free: 19.67 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004999/0.3448, allocations: 1.237 MB / 0.6009 GB, free: 18.42 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/0.3451, allocations: 0.7748 MB / 0.6017 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004087/0.3455, allocations: 0.5106 MB / 0.6022 GB, free: 17.12 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.3455, allocations: 476.8 kB / 0.6026 GB, free: 16.65 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.3462, allocations: 469.6 kB / 0.6031 GB, free: 16.18 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/0.347, allocations: 1.527 MB / 0.6046 GB, free: 14.19 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.3491, allocations: 2.444 MB / 0.6069 GB, free: 11.32 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.3491, allocations: 14.62 kB / 0.607 GB, free: 11.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002816/0.3519, allocations: 2.383 MB / 0.6093 GB, free: 8.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.352, allocations: 83.38 kB / 0.6094 GB, free: 8.816 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00216/0.3541, allocations: 1.508 MB / 0.6108 GB, free: 7.281 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.3547, allocations: 257.4 kB / 0.6111 GB, free: 7.027 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.3556, allocations: 0.5527 MB / 0.6116 GB, free: 6.477 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.3604, allocations: 7.132 MB / 0.6186 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.3612, allocations: 107.7 kB / 0.6187 GB, free: 14.95 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.3614, allocations: 144.5 kB / 0.6188 GB, free: 14.81 MB / 0.4949 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.001071/0.3625, allocations: 0.6116 MB / 0.6194 GB, free: 14.18 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001285/0.3638, allocations: 1.513 MB / 0.6209 GB, free: 12.21 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002532/0.3663, allocations: 2.442 MB / 0.6233 GB, free: 9.348 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.013e-05/0.3663, allocations: 7.938 kB / 0.6233 GB, free: 9.34 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003191/0.3695, allocations: 2.355 MB / 0.6256 GB, free: 6.969 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.3695, allocations: 75.39 kB / 0.6257 GB, free: 6.883 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002142/0.3717, allocations: 1.477 MB / 0.6271 GB, free: 5.383 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000496/0.3722, allocations: 239.6 kB / 0.6273 GB, free: 5.148 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.3733, allocations: 0.5499 MB / 0.6279 GB, free: 4.598 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005551/0.3788, allocations: 7.078 MB / 0.6348 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.3798, allocations: 103.8 kB / 0.6349 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.3799, allocations: 146.6 kB / 0.635 GB, free: 12.98 MB / 0.5105 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.0004537/0.3804, allocations: 0.4981 MB / 0.6355 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/0.3808, allocations: 350 kB / 0.6358 GB, free: 12.12 MB / 0.5105 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.002334/0.3831, allocations: 1.961 MB / 0.6378 GB, free: 10.23 MB / 0.5105 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.755913642933592]