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.008526/0.008526, 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.001086/0.001086, allocations: 87.53 kB / 25.62 MB, free: 6.527 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.001283/0.001283, allocations: 167 kB / 29.46 MB, free: 3.035 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.932/0.932, allocations: 177.1 MB / 210.3 MB, free: 1.762 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7249/0.7249, allocations: 102.4 MB / 369.8 MB, free: 0.9023 MB / 330.8 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 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_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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 469.9 MB, free: 12.93 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.735e-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.299/0.299, allocations: 62.08 MB / 0.5195 GB, free: 73.55 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.315, allocations: 17.98 MB / 0.5371 GB, free: 65.63 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.3161, allocations: 56.06 kB / 0.5371 GB, free: 65.61 MB / 490.8 MB [/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.002026/0.3181, allocations: 1.308 MB / 0.5384 GB, free: 65.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.3199, allocations: 1.543 MB / 0.5399 GB, free: 64.13 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.3227, allocations: 2.095 MB / 0.5419 GB, free: 63.08 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.3252, allocations: 3.518 MB / 0.5454 GB, free: 61.32 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.3265, allocations: 1.241 MB / 0.5466 GB, free: 60.52 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.3285, allocations: 1.914 MB / 0.5485 GB, free: 59.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.33, allocations: 1.365 MB / 0.5498 GB, free: 59.26 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003846/0.3304, allocations: 250.3 kB / 0.55 GB, free: 59.26 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.3331, allocations: 1.693 MB / 0.5517 GB, free: 58.79 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005992/0.3337, allocations: 0.829 MB / 0.5525 GB, free: 58.31 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0008352/0.3345, allocations: 0.8577 MB / 0.5533 GB, free: 57.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004082/0.3386, allocations: 3.671 MB / 0.5569 GB, free: 56.36 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3386, allocations: 0.9688 kB / 0.5569 GB, free: 56.36 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3386, allocations: 0 / 0.5569 GB, free: 56.36 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.478e-05/0.3386, allocations: 0 / 0.5569 GB, free: 56.36 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.004049/0.3427, allocations: 4.134 MB / 0.561 GB, free: 53.78 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3427, allocations: 9.656 kB / 0.561 GB, free: 53.78 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/0.3435, allocations: 0.5104 MB / 0.5615 GB, free: 53.55 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.3464, allocations: 2.591 MB / 0.564 GB, free: 52.22 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.3465, allocations: 118.5 kB / 0.5641 GB, free: 52.17 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.3467, allocations: 156 kB / 0.5643 GB, free: 52.11 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/0.3498, allocations: 2.635 MB / 0.5668 GB, free: 50.05 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.3498, allocations: 21.53 kB / 0.5669 GB, free: 50.04 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3499, allocations: 69.75 kB / 0.5669 GB, free: 49.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.3499, allocations: 43.91 kB / 0.567 GB, free: 49.99 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.3522, allocations: 1.303 MB / 0.5682 GB, free: 49.44 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005913/0.3581, allocations: 14.34 MB / 0.5822 GB, free: 36.1 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.3602, allocations: 1.454 MB / 0.5837 GB, free: 35.23 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.3607, allocations: 489.7 kB / 0.5841 GB, free: 34.93 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.3609, allocations: 81.77 kB / 0.5842 GB, free: 34.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00173/0.3626, allocations: 1.262 MB / 0.5854 GB, free: 34.06 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 3.256e-06/0.3626, allocations: 1.375 kB / 0.5854 GB, free: 34.06 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.01035/0.373, allocations: 11.7 MB / 0.5969 GB, free: 22.77 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.3731, allocations: 0.6385 MB / 0.5975 GB, free: 21.98 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.3747, allocations: 2.19 MB / 0.5996 GB, free: 19.78 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.3748, allocations: 57.69 kB / 0.5997 GB, free: 19.71 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.3752, allocations: 1.235 MB / 0.6009 GB, free: 18.46 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.3755, allocations: 0.7748 MB / 0.6016 GB, free: 17.68 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000402/0.3759, allocations: 0.5106 MB / 0.6021 GB, free: 17.16 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.167e-05/0.376, allocations: 477.9 kB / 0.6026 GB, free: 16.7 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.3766, allocations: 469.5 kB / 0.603 GB, free: 16.22 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.3775, allocations: 1.525 MB / 0.6045 GB, free: 14.23 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.3796, allocations: 2.443 MB / 0.6069 GB, free: 11.37 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.3796, allocations: 11.94 kB / 0.6069 GB, free: 11.36 MB / 490.8 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002829/0.3824, allocations: 2.393 MB / 0.6093 GB, free: 8.953 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.3825, allocations: 79.39 kB / 0.6093 GB, free: 8.863 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001981/0.3845, allocations: 1.509 MB / 0.6108 GB, free: 7.328 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/0.3851, allocations: 256.9 kB / 0.6111 GB, free: 7.074 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008924/0.386, allocations: 0.5538 MB / 0.6116 GB, free: 6.52 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.3908, allocations: 7.122 MB / 0.6186 GB, free: 15.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.3915, allocations: 111.7 kB / 0.6187 GB, free: 15 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.3917, allocations: 144.8 kB / 0.6188 GB, free: 14.86 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.001077/0.3928, allocations: 0.6067 MB / 0.6194 GB, free: 14.23 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00121/0.394, allocations: 1.525 MB / 0.6209 GB, free: 12.25 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00251/0.3965, allocations: 2.429 MB / 0.6233 GB, free: 9.402 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.778e-06/0.3965, allocations: 14.56 kB / 0.6233 GB, free: 9.391 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003379/0.3999, allocations: 2.355 MB / 0.6256 GB, free: 7.016 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.3999, allocations: 80 kB / 0.6256 GB, free: 6.926 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002114/0.402, allocations: 1.472 MB / 0.6271 GB, free: 5.43 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.4025, allocations: 230 kB / 0.6273 GB, free: 5.203 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/0.4035, allocations: 0.5537 MB / 0.6278 GB, free: 4.648 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005519/0.409, allocations: 7.086 MB / 0.6348 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007639/0.4098, allocations: 107.8 kB / 0.6349 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.4099, allocations: 143.9 kB / 0.635 GB, free: 13.02 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.0004624/0.4104, allocations: 0.4979 MB / 0.6355 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.4108, allocations: 342 kB / 0.6358 GB, free: 12.17 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.00228/0.4131, allocations: 1.962 MB / 0.6377 GB, free: 10.28 MB / 0.5105 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.9471754839178175]