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.008541/0.008541, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0007371/0.0007371, allocations: 84.91 kB / 25.4 MB, free: 7 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.0008467/0.0008467, allocations: 156.3 kB / 29.33 MB, free: 3.137 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.9807/0.9807, allocations: 177.1 MB / 210.3 MB, free: 3.48 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.6354/0.6354, allocations: 102.4 MB / 369.8 MB, free: 268 kB / 330.7 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.763e-06/1.763e-06, allocations: 0 / 470.5 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.647e-05, allocations: 2.969 kB / 470.5 MB, free: 18.81 MB / 410.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.1156/0.1156, allocations: 61.92 MB / 0.5199 GB, free: 9.715 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01995/0.1355, allocations: 17.89 MB / 0.5374 GB, free: 7.77 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001709/0.1373, allocations: 59.56 kB / 0.5374 GB, free: 7.711 MB / 458.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.002771/0.14, allocations: 1.314 MB / 0.5387 GB, free: 6.391 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.1432, allocations: 1.549 MB / 0.5402 GB, free: 4.832 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.1473, allocations: 2.114 MB / 0.5423 GB, free: 2.711 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003896/0.1512, allocations: 3.521 MB / 0.5457 GB, free: 15.18 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.1528, allocations: 1.254 MB / 0.547 GB, free: 13.89 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1133/0.2661, allocations: 47.12 MB / 0.593 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.2679, allocations: 1.242 MB / 0.5942 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003694/0.2683, allocations: 200 kB / 0.5944 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.2712, allocations: 1.641 MB / 0.596 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.2717, allocations: 0.7159 MB / 0.5967 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000814/0.2725, allocations: 0.7788 MB / 0.5974 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.2787, allocations: 3.519 MB / 0.6009 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2787, allocations: 4 kB / 0.6009 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2787, allocations: 0 / 0.6009 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.913e-05/0.2788, allocations: 4 kB / 0.6009 GB, free: 7.801 MB / 0.5105 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.004089/0.2829, allocations: 3.943 MB / 0.6047 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2829, allocations: 12.03 kB / 0.6047 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/0.2834, allocations: 454.7 kB / 0.6052 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.2854, allocations: 1.759 MB / 0.6069 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.2855, allocations: 119.3 kB / 0.607 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2856, allocations: 160.3 kB / 0.6072 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.2885, allocations: 2.52 MB / 0.6096 GB, free: 14.21 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.2885, allocations: 19.81 kB / 0.6096 GB, free: 14.19 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.25e-05/0.2886, allocations: 68 kB / 0.6097 GB, free: 14.12 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.2887, allocations: 48 kB / 0.6098 GB, free: 14.07 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.2905, allocations: 1.16 MB / 0.6109 GB, free: 12.88 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008669/0.2992, allocations: 13.96 MB / 0.6245 GB, free: 14.47 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.3013, allocations: 1.37 MB / 0.6259 GB, free: 12.95 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006699/0.302, allocations: 428.7 kB / 0.6263 GB, free: 12.47 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.3022, allocations: 123.1 kB / 0.6264 GB, free: 12.35 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.3038, allocations: 1.213 MB / 0.6276 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 5.59e-06/0.3038, allocations: 4 kB / 0.6276 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.008245/0.312, allocations: 4.727 MB / 0.6322 GB, free: 6.172 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004644/0.3125, allocations: 0.6926 MB / 0.6329 GB, free: 5.32 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.3142, allocations: 2.111 MB / 0.6349 GB, free: 3.195 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.3143, allocations: 58.17 kB / 0.635 GB, free: 3.133 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000711/0.315, allocations: 1.25 MB / 0.6362 GB, free: 1.867 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004906/0.3155, allocations: 0.786 MB / 0.637 GB, free: 1.074 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004784/0.316, allocations: 0.526 MB / 0.6375 GB, free: 0.5391 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3161, allocations: 476.8 kB / 0.6379 GB, free: 72 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004608/0.3166, allocations: 385.6 kB / 0.6383 GB, free: 15.68 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.3178, allocations: 1.523 MB / 0.6398 GB, free: 13.67 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3195, allocations: 2.259 MB / 0.642 GB, free: 10.96 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/0.3196, allocations: 8 kB / 0.642 GB, free: 10.95 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002826/0.3224, allocations: 2.239 MB / 0.6442 GB, free: 8.664 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.845e-05/0.3224, allocations: 79.39 kB / 0.6443 GB, free: 8.574 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001722/0.3242, allocations: 1.407 MB / 0.6456 GB, free: 7.125 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008495/0.325, allocations: 246.8 kB / 0.6459 GB, free: 6.871 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009251/0.3259, allocations: 0.5538 MB / 0.6464 GB, free: 6.316 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2126/0.5385, allocations: 7.001 MB / 0.6533 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.5401, allocations: 116.5 kB / 0.6534 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.5404, allocations: 127.5 kB / 0.6535 GB, free: 116.8 MB / 0.5574 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.001162/0.5415, allocations: 0.5272 MB / 0.654 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007767/0.5423, allocations: 1.52 MB / 0.6555 GB, free: 115.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001639/0.5439, allocations: 2.254 MB / 0.6577 GB, free: 113.7 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.265e-05/0.544, allocations: 6.094 kB / 0.6577 GB, free: 113.7 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.002562/0.5465, allocations: 2.216 MB / 0.6599 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.5466, allocations: 79.67 kB / 0.6599 GB, free: 113.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001505/0.5481, allocations: 1.369 MB / 0.6613 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/0.5485, allocations: 222.9 kB / 0.6615 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/0.5494, allocations: 0.5536 MB / 0.662 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/0.5536, allocations: 6.978 MB / 0.6688 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.5544, allocations: 110 kB / 0.6689 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.5546, allocations: 124.5 kB / 0.6691 GB, free: 107.7 MB / 0.5574 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.0005364/0.5551, allocations: 0.4917 MB / 0.6695 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.5555, allocations: 349.2 kB / 0.6699 GB, free: 107.3 MB / 0.5574 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.002077/0.5575, allocations: 1.907 MB / 0.6717 GB, free: 107 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.28711555339396]