Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator.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.01554/0.01554, allocations: 1.745 MB / 21.38 MB, free: 480 kB / 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.001369/0.001369, allocations: 98.06 kB / 24.96 MB, free: 2.059 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.001571/0.001571, allocations: 210.9 kB / 28.68 MB, free: 3.348 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.41/1.41, allocations: 230.6 MB / 262.9 MB, free: 5.832 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.086/1.086, allocations: 130.7 MB / 450.4 MB, free: 6.434 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.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="cs",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.06852/0.06852, allocations: 20.6 MB / 0.6362 GB, free: 5.121 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.2408, allocations: 81.91 MB / 0.7162 GB, free: 3.121 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.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.5117/0.7525, allocations: 57.1 MB / 0.772 GB, free: 13.21 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04016/0.7927, allocations: 24.1 MB / 0.7955 GB, free: 12.36 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009336/0.802, allocations: 160.6 kB / 0.7957 GB, free: 12.28 MB / 0.5763 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.01039/0.8124, allocations: 3.082 MB / 0.7987 GB, free: 10.15 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01657/0.829, allocations: 4.788 MB / 0.8033 GB, free: 6.398 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.8415, allocations: 4.127 MB / 0.8074 GB, free: 3.23 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0228/0.8643, allocations: 12.96 MB / 0.82 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007515/0.8718, allocations: 3.828 MB / 0.8238 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/0.8836, allocations: 5.408 MB / 0.829 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01251/0.8961, allocations: 5.701 MB / 0.8346 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003312/0.8994, allocations: 0.8672 MB / 0.8355 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009118/0.9085, allocations: 2.651 MB / 0.8381 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005233/0.9137, allocations: 2.823 MB / 0.8408 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008752/0.9225, allocations: 3.491 MB / 0.8442 GB, free: 15.68 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02276/0.9452, allocations: 14.09 MB / 0.858 GB, free: 1.543 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9453, allocations: 0 / 0.858 GB, free: 1.543 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9453, allocations: 0 / 0.858 GB, free: 1.543 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004134/0.9457, allocations: 0 / 0.858 GB, free: 1.543 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1582 * Number of variables: 1582 Notification: Performance of Generate backend data structure: time 0.0232/0.9689, allocations: 9.062 MB / 0.8668 GB, free: 8.414 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.9689, allocations: 14.69 kB / 0.8668 GB, free: 8.402 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001641/0.9691, allocations: 124.3 kB / 0.867 GB, free: 8.277 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002001/0.9711, allocations: 0.7371 MB / 0.8677 GB, free: 7.527 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004036/0.9751, allocations: 1.099 MB / 0.8688 GB, free: 6.426 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/0.9912, allocations: 7.007 MB / 0.8756 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003648/0.9915, allocations: 308.2 kB / 0.8759 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/0.9931, allocations: 403.9 kB / 0.8763 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03012/1.023, allocations: 13.51 MB / 0.8895 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001127/1.023, allocations: 43.56 kB / 0.8895 GB, free: 15.39 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007009/1.024, allocations: 208 kB / 0.8897 GB, free: 15.19 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004673/1.025, allocations: 378.1 kB / 0.8901 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.052, allocations: 9.817 MB / 0.8997 GB, free: 4.992 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05509/1.107, allocations: 39.69 MB / 0.9384 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02367/1.13, allocations: 8.201 MB / 0.9464 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007033/1.137, allocations: 3.112 MB / 0.9495 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/1.138, allocations: 250.6 kB / 0.9497 GB, free: 388 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02008/1.159, allocations: 6.706 MB / 0.9562 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004045/1.163, allocations: 0.7982 MB / 0.957 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=870): time 2.061e-05/1.163, allocations: 2.656 kB / 0.957 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=872): time 0.1046/1.267, allocations: 50.47 MB / 1.006 GB, free: 5.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008358/1.268, allocations: 1.537 MB / 1.008 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009629/1.278, allocations: 6.121 MB / 1.014 GB, free: 13.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001477/1.279, allocations: 100.4 kB / 1.014 GB, free: 13.81 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002778/1.282, allocations: 2.829 MB / 1.017 GB, free: 10.96 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.004037/1.286, allocations: 2.978 MB / 1.02 GB, free: 7.953 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003645/1.29, allocations: 1.795 MB / 1.021 GB, free: 6.145 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.29, allocations: 305.1 kB / 1.022 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007606/1.297, allocations: 4.205 MB / 1.026 GB, free: 1.617 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01056/1.308, allocations: 7.252 MB / 1.033 GB, free: 9.176 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5947/1.903, allocations: 51.08 MB / 1.083 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.2e-05/1.903, allocations: 19.69 kB / 1.083 GB, free: 343.2 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.02689/1.93, allocations: 12.66 MB / 1.095 GB, free: 335.7 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.93, allocations: 61.7 kB / 1.095 GB, free: 335.6 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01974/1.949, allocations: 10.04 MB / 1.105 GB, free: 325.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003677/1.953, allocations: 1.048 MB / 1.106 GB, free: 324.5 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009347/1.962, allocations: 2.352 MB / 1.108 GB, free: 322.2 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/1.973, allocations: 11.73 MB / 1.12 GB, free: 309.8 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006628/1.98, allocations: 326.2 kB / 1.12 GB, free: 309.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/1.982, allocations: 0.5426 MB / 1.121 GB, free: 309 MB / 0.8263 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01129/1.993, allocations: 5.908 MB / 1.126 GB, free: 303.1 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008595/2.002, allocations: 7.211 MB / 1.133 GB, free: 294.7 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2621/2.264, allocations: 50.97 MB / 1.183 GB, free: 242.8 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.162e-05/2.264, allocations: 20 kB / 1.183 GB, free: 242.8 MB / 0.8263 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.02777/2.292, allocations: 12.32 MB / 1.195 GB, free: 230.8 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/2.292, allocations: 71.25 kB / 1.195 GB, free: 230.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01987/2.312, allocations: 9.687 MB / 1.205 GB, free: 221 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/2.314, allocations: 0.7396 MB / 1.205 GB, free: 220.2 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008765/2.322, allocations: 2.356 MB / 1.208 GB, free: 217.9 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/2.333, allocations: 11.54 MB / 1.219 GB, free: 205.7 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007136/2.34, allocations: 324.1 kB / 1.219 GB, free: 205.4 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002175/2.342, allocations: 0.5388 MB / 1.22 GB, free: 204.9 MB / 0.8263 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 7 (ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.003976/2.346, allocations: 0.7299 MB / 1.221 GB, free: 204.2 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003483/2.349, allocations: 0.7717 MB / 1.221 GB, free: 203.6 MB / 0.8263 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 1265 equation(s) and 1212 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0218/2.371, allocations: 10.62 MB / 1.232 GB, free: 193.4 MB / 0.8263 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 797] [Calling sys.exit(0), Time elapsed: 6.233113900059834] Failed to read output from testmodel.py, exit status != 0: 2.575943061034195 2.590785349 1.640473689 Calling exit ...