Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle.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.006158/0.006158, allocations: 1.435 MB / 21.29 MB, free: 3.266 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.0007893/0.0007893, allocations: 92.64 kB / 24.9 MB, free: 7.262 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.0009092/0.0009092, allocations: 168.9 kB / 28.62 MB, free: 4.457 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.8665/0.8665, allocations: 177.1 MB / 209.4 MB, free: 2.996 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.7606/0.7606, allocations: 102.5 MB / 368.7 MB, free: 1.449 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.1.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") translateModel(ClaRa.Components.MechanicalSeparation.Check.TestBottle,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|bottle_L3_1.insulation.U.1.|bottle_L3_1.volume.h_liq|bottle_L3_1.volume.h_vap|bottle_L3_1.volume.p_vap|bottle_L3_1.volume.volume_vap|bottle_L3_1.wall.U.1.|bottle_L3_1.wall.U.2.|bottle_L3_1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.5374 GB, free: 39.85 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.717e-05, allocations: 3.375 kB / 0.5374 GB, free: 39.84 MB / 490.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.MechanicalSeparation.Check.TestBottle): time 0.1207/0.1208, allocations: 66.94 MB / 0.6028 GB, free: 9.051 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.03047/0.1512, allocations: 22.47 MB / 0.6247 GB, free: 2.508 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004269/0.1555, allocations: 127.1 kB / 0.6248 GB, free: 2.383 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004367/0.1599, allocations: 2.542 MB / 0.6273 GB, free: 15.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.007568/0.1674, allocations: 4.292 MB / 0.6315 GB, free: 11.51 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006523/0.174, allocations: 4.096 MB / 0.6355 GB, free: 7.406 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01286/0.1868, allocations: 13.52 MB / 0.6487 GB, free: 9.844 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005732/0.1925, allocations: 3.931 MB / 0.6525 GB, free: 5.84 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01057/0.2031, allocations: 7.207 MB / 0.6596 GB, free: 14.62 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006175/0.2093, allocations: 4.821 MB / 0.6643 GB, free: 9.785 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.2108, allocations: 0.8438 MB / 0.6651 GB, free: 8.941 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.2157, allocations: 2.686 MB / 0.6677 GB, free: 6.25 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001863/0.2175, allocations: 2.924 MB / 0.6706 GB, free: 3.316 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.003275/0.2208, allocations: 2.868 MB / 0.6734 GB, free: 452 kB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.2341, allocations: 14.06 MB / 0.6871 GB, free: 2.34 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2341, allocations: 4 kB / 0.6871 GB, free: 2.336 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2341, allocations: 4 kB / 0.6871 GB, free: 2.332 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002939/0.2344, allocations: 0 / 0.6871 GB, free: 2.332 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1666 * Number of variables: 1666 Notification: Performance of Generate backend data structure: time 0.01359/0.248, allocations: 8.92 MB / 0.6958 GB, free: 9.305 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.248, allocations: 11.97 kB / 0.6959 GB, free: 9.293 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002004/0.25, allocations: 1.077 MB / 0.6969 GB, free: 8.211 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008517/0.2586, allocations: 6.522 MB / 0.7033 GB, free: 1.598 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.2588, allocations: 336.9 kB / 0.7036 GB, free: 1.266 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005121/0.2593, allocations: 420.3 kB / 0.704 GB, free: 0.8555 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.2762, allocations: 14.27 MB / 0.7179 GB, free: 0.7695 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.205e-05/0.2763, allocations: 67.38 kB / 0.718 GB, free: 0.7031 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004431/0.2767, allocations: 224 kB / 0.7182 GB, free: 496 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003132/0.277, allocations: 438.4 kB / 0.7186 GB, free: 56 kB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01616/0.2932, allocations: 10.65 MB / 0.729 GB, free: 5.371 MB / 0.6199 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.3271/0.6203, allocations: 49.76 MB / 0.7776 GB, free: 140.9 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.6329, allocations: 7.872 MB / 0.7853 GB, free: 139 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004073/0.6369, allocations: 3.172 MB / 0.7884 GB, free: 137.5 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/0.6376, allocations: 341.9 kB / 0.7887 GB, free: 137.4 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009495/0.6471, allocations: 6.695 MB / 0.7953 GB, free: 134 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=827): time 7.174e-06/0.6471, allocations: 1.062 kB / 0.7953 GB, free: 134 MB / 0.6512 GB Notification: Performance of matching and sorting (n=828): time 0.04775/0.6949, allocations: 44.83 MB / 0.8391 GB, free: 104.3 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.695, allocations: 1.151 MB / 0.8402 GB, free: 102.9 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005578/0.7006, allocations: 6.122 MB / 0.8462 GB, free: 96.88 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0007978/0.7014, allocations: 97.7 kB / 0.8463 GB, free: 96.77 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.7027, allocations: 3.063 MB / 0.8492 GB, free: 94.01 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001472/0.7042, allocations: 2.806 MB / 0.852 GB, free: 91.61 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/0.7059, allocations: 1.902 MB / 0.8538 GB, free: 89.69 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.337e-05/0.7059, allocations: 304.4 kB / 0.8541 GB, free: 89.39 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/0.7101, allocations: 4.535 MB / 0.8586 GB, free: 84.83 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/0.7151, allocations: 7.832 MB / 0.8662 GB, free: 75.65 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2701/0.9852, allocations: 85.26 MB / 0.9495 GB, free: 6.398 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.38e-05/0.9853, allocations: 24 kB / 0.9495 GB, free: 6.375 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01979/1.005, allocations: 13.49 MB / 0.9627 GB, free: 8.801 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.005, allocations: 103.6 kB / 0.9628 GB, free: 8.688 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0132/1.018, allocations: 10.2 MB / 0.9727 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/1.02, allocations: 0.6842 MB / 0.9734 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/1.024, allocations: 2.422 MB / 0.9758 GB, free: 11.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/1.035, allocations: 14.43 MB / 0.9898 GB, free: 12.06 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/1.041, allocations: 431.1 kB / 0.9903 GB, free: 11.66 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007779/1.041, allocations: 0.5864 MB / 0.9908 GB, free: 11.07 MB / 0.7137 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009654/1.051, allocations: 6.385 MB / 0.9971 GB, free: 4.672 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006466/1.057, allocations: 7.792 MB / 1.005 GB, free: 11.49 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5523/1.61, allocations: 84.87 MB / 1.088 GB, free: 258.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.745e-05/1.61, allocations: 26 kB / 1.088 GB, free: 258.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01648/1.626, allocations: 13.37 MB / 1.101 GB, free: 248 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 6.587e-05/1.626, allocations: 111.4 kB / 1.101 GB, free: 247.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01079/1.637, allocations: 10.1 MB / 1.111 GB, free: 237.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/1.638, allocations: 0.6842 MB / 1.111 GB, free: 237 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/1.642, allocations: 2.41 MB / 1.114 GB, free: 234.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007425/1.65, allocations: 14.45 MB / 1.128 GB, free: 219.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004526/1.654, allocations: 419.6 kB / 1.128 GB, free: 219.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/1.655, allocations: 0.5777 MB / 1.129 GB, free: 218.5 MB / 0.7605 GB Warning: Assuming fixed start value for the following 3 variables: bottle_L3_1.volume.h_liq:VARIABLE(start = bottle_L3_1.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real bottle_L3_1.volume.h_vap:VARIABLE(start = bottle_L3_1.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real bottle_L3_1.volume.p_vap:VARIABLE(min = 0.0 start = bottle_L3_1.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: 388 * Number of states: 0 () * Number of discrete variables: 16 (timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition2,$whenCondition1,valveVLE_L1_2.pressureLoss.normIsValid,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1193 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 5 * 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): 4 systems {(4,3,87.5%), (1,6,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.002117/1.657, allocations: 0.8079 MB / 1.129 GB, free: 217.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/1.659, allocations: 0.7384 MB / 1.13 GB, free: 217.4 MB / 0.7605 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 1200 equation(s) and 1148 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (cyclone.fluidIn.q, cyclone.fluidIn.cp, cyclone.fluidIn.cv, cyclone.fluidIn.beta, cyclone.fluidIn.kappa, cyclone.fluidIn.drhodp_hxi, cyclone.fluidIn.drhodh_pxi, _, cyclone.fluidIn.w, cyclone.fluidIn.gamma) = ($cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45) has size 9 but 7 variables ($whenCondition1, timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, timeTable.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.67, allocations: 11.12 MB / 1.141 GB, free: 206.9 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.547688099555671] Failed to read output from testmodel.py, exit status != 0: 1.8358775516971946 1.843139611 1.607629188 Calling exit ...