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.01052/0.01052, allocations: 1.754 MB / 20.61 MB, free: 1.004 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.001386/0.001386, allocations: 100.6 kB / 24.18 MB, free: 2.438 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.00191/0.00191, allocations: 215.1 kB / 27.9 MB, free: 3.742 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.473/1.473, allocations: 230.6 MB / 262.1 MB, free: 5.828 MB / 206.1 MB " [Timeout remaining time 178] 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 1.082/1.082, 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 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 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,fileNamePrefix="ClaRa_ClaRa_Components_Electrical_Check_TestAsynchronousMotorWithPump",fmuType="me",version="2.0",platforms={"static"}) [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.06553/0.06553, allocations: 20.98 MB / 0.6359 GB, free: 4.703 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.2223, allocations: 81.91 MB / 0.7159 GB, free: 2.684 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.5485/0.7708, allocations: 44.82 MB / 0.7596 GB, free: 20.82 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.7964, allocations: 17.53 MB / 0.7767 GB, free: 8.695 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.7996, allocations: 54.38 kB / 0.7768 GB, free: 8.672 MB / 0.5607 GB [/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.004277/0.8038, allocations: 1.3 MB / 0.7781 GB, free: 8.105 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.8093, allocations: 1.491 MB / 0.7795 GB, free: 7.266 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006261/0.8155, allocations: 2.084 MB / 0.7816 GB, free: 6.227 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.006316/0.8218, allocations: 3.42 MB / 0.7849 GB, free: 4.578 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.8245, allocations: 1.16 MB / 0.786 GB, free: 3.977 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003203/0.8277, allocations: 1.415 MB / 0.7874 GB, free: 3.152 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.8309, allocations: 1.565 MB / 0.7889 GB, free: 2.195 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.8319, allocations: 249.7 kB / 0.7892 GB, free: 2.195 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00499/0.8369, allocations: 1.696 MB / 0.7908 GB, free: 1.379 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.8383, allocations: 0.8037 MB / 0.7916 GB, free: 0.7734 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.002691/0.841, allocations: 1.085 MB / 0.7927 GB, free: 32 kB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.8513, allocations: 4.899 MB / 0.7975 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.8513, allocations: 0 / 0.7975 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8513, allocations: 3.969 kB / 0.7975 GB, free: 12.76 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0001823/0.8515, allocations: 0 / 0.7975 GB, free: 12.76 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.01156/0.8631, allocations: 3.941 MB / 0.8013 GB, free: 9.918 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.8631, allocations: 9.5 kB / 0.8013 GB, free: 9.918 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006482/0.8638, allocations: 243.7 kB / 0.8016 GB, free: 9.727 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.8656, allocations: 411.7 kB / 0.8019 GB, free: 9.508 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00717/0.8727, allocations: 2.858 MB / 0.8047 GB, free: 7 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.8729, allocations: 117.1 kB / 0.8048 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004842/0.8734, allocations: 151.9 kB / 0.805 GB, free: 6.738 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006836/0.8803, allocations: 2.861 MB / 0.8078 GB, free: 3.512 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.315e-05/0.8803, allocations: 11.88 kB / 0.8078 GB, free: 3.5 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/0.8806, allocations: 72 kB / 0.8079 GB, free: 3.43 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.8806, allocations: 44 kB / 0.8079 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005457/0.8861, allocations: 1.964 MB / 0.8098 GB, free: 1.406 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.9012, allocations: 10.93 MB / 0.8205 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005021/0.9062, allocations: 1.763 MB / 0.8222 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.9078, allocations: 0.7365 MB / 0.8229 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/0.9082, allocations: 79.56 kB / 0.823 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00412/0.9123, allocations: 1.537 MB / 0.8245 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=225): time 9.798e-06/0.9123, allocations: 2.719 kB / 0.8245 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=229): time 0.0264/0.9387, allocations: 13.32 MB / 0.8375 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003652/0.9391, allocations: 0.6423 MB / 0.8382 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00397/0.943, allocations: 2.43 MB / 0.8405 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002897/0.9433, allocations: 57.7 kB / 0.8406 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.9444, allocations: 1.113 MB / 0.8417 GB, free: 15.88 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009271/0.9453, allocations: 0.7771 MB / 0.8424 GB, free: 15.09 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.9464, allocations: 0.4965 MB / 0.8429 GB, free: 14.59 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9465, allocations: 304.9 kB / 0.8432 GB, free: 14.29 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.9483, allocations: 0.8417 MB / 0.844 GB, free: 13.44 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/0.9508, allocations: 1.623 MB / 0.8456 GB, free: 11.47 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.107/1.058, allocations: 15.01 MB / 0.8603 GB, free: 12.94 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.65e-05/1.058, allocations: 8 kB / 0.8603 GB, free: 12.93 MB / 0.6388 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.0083/1.066, allocations: 3.147 MB / 0.8634 GB, free: 9.75 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/1.066, allocations: 85 kB / 0.8634 GB, free: 9.656 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005564/1.072, allocations: 2.297 MB / 0.8657 GB, free: 7.332 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/1.073, allocations: 274.3 kB / 0.8659 GB, free: 7.055 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/1.075, allocations: 0.5576 MB / 0.8665 GB, free: 6.496 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/1.087, allocations: 6.162 MB / 0.8725 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/1.089, allocations: 119.6 kB / 0.8726 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004468/1.09, allocations: 144.1 kB / 0.8728 GB, free: 15.74 MB / 0.6544 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.003089/1.093, allocations: 1.323 MB / 0.874 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002509/1.095, allocations: 1.613 MB / 0.8756 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1077/1.203, allocations: 14.96 MB / 0.8902 GB, free: 13.16 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.46e-05/1.203, allocations: 10.83 kB / 0.8902 GB, free: 13.16 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007605/1.211, allocations: 3.069 MB / 0.8932 GB, free: 10.05 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.409e-05/1.211, allocations: 84.3 kB / 0.8933 GB, free: 9.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005049/1.216, allocations: 2.217 MB / 0.8955 GB, free: 7.715 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.217, allocations: 255.5 kB / 0.8957 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/1.219, allocations: 0.5576 MB / 0.8963 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/1.23, allocations: 5.981 MB / 0.9021 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/1.232, allocations: 115.7 kB / 0.9022 GB, free: 492 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/1.232, allocations: 143.9 kB / 0.9024 GB, free: 348 kB / 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.0008351/1.233, allocations: 403.3 kB / 0.9027 GB, free: 15.93 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000841/1.234, allocations: 306 kB / 0.903 GB, free: 15.63 MB / 0.6857 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.004781/1.239, allocations: 2.268 MB / 0.9053 GB, free: 13.39 MB / 0.6857 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.23668207693845] Failed to read output from testmodel.py, exit status != 0: 1.4204668090678751 1.4363702680000001 0.581852412 Calling exit ...