Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.006474/0.006474, allocations: 1.435 MB / 21.29 MB, free: 3.262 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.0007381/0.0007381, allocations: 90.92 kB / 24.91 MB, free: 7.266 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.0007572/0.0007572, allocations: 164.7 kB / 28.62 MB, free: 4.453 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.9085/0.9085, 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 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 0.7888/0.7888, allocations: 102.5 MB / 368.7 MB, free: 1.465 MB / 330.8 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.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_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_ClaRa.Components.MechanicalSeparation.Check.TestBottle") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.5374 GB, free: 39.74 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.888e-05, allocations: 7.438 kB / 0.5374 GB, free: 39.74 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.1182/0.1183, allocations: 66.94 MB / 0.6028 GB, free: 8.926 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.0279/0.1462, allocations: 22.48 MB / 0.6247 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004435/0.1506, allocations: 127.1 kB / 0.6248 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.1551, allocations: 2.534 MB / 0.6273 GB, free: 15.71 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.007968/0.163, allocations: 4.296 MB / 0.6315 GB, free: 11.39 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007112/0.1702, allocations: 4.096 MB / 0.6355 GB, free: 7.281 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.1849, allocations: 13.52 MB / 0.6487 GB, free: 9.719 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006054/0.191, allocations: 3.931 MB / 0.6526 GB, free: 5.715 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01037/0.2014, allocations: 7.207 MB / 0.6596 GB, free: 14.49 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006615/0.208, allocations: 4.819 MB / 0.6643 GB, free: 9.66 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.2093, allocations: 0.8477 MB / 0.6651 GB, free: 8.812 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/0.2143, allocations: 2.675 MB / 0.6677 GB, free: 6.133 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.2165, allocations: 2.932 MB / 0.6706 GB, free: 3.191 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002922/0.2194, allocations: 2.864 MB / 0.6734 GB, free: 328 kB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.01437/0.2338, allocations: 14.07 MB / 0.6871 GB, free: 2.207 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2338, allocations: 0 / 0.6871 GB, free: 2.207 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2338, allocations: 0 / 0.6871 GB, free: 2.207 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000263/0.234, allocations: 0 / 0.6871 GB, free: 2.207 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.01281/0.2468, allocations: 8.924 MB / 0.6959 GB, free: 9.18 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2469, allocations: 12.03 kB / 0.6959 GB, free: 9.168 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.2491, allocations: 1.073 MB / 0.6969 GB, free: 8.09 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007802/0.2569, allocations: 6.537 MB / 0.7033 GB, free: 1.465 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.2571, allocations: 336.8 kB / 0.7036 GB, free: 1.133 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007983/0.2579, allocations: 424.3 kB / 0.704 GB, free: 0.7188 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.2745, allocations: 14.27 MB / 0.718 GB, free: 0.6328 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.591e-05/0.2746, allocations: 67.38 kB / 0.718 GB, free: 0.5664 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004082/0.275, allocations: 223.9 kB / 0.7182 GB, free: 356 kB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003254/0.2753, allocations: 442.4 kB / 0.7187 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.2905, allocations: 10.65 MB / 0.7291 GB, free: 5.234 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.3732/0.6637, allocations: 49.75 MB / 0.7776 GB, free: 142.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.6765, allocations: 7.87 MB / 0.7853 GB, free: 140.8 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004032/0.6806, allocations: 3.177 MB / 0.7884 GB, free: 139.3 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/0.6813, allocations: 336.9 kB / 0.7888 GB, free: 139.2 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00981/0.6911, allocations: 6.696 MB / 0.7953 GB, free: 136 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=827): time 7.665e-06/0.6911, allocations: 1.438 kB / 0.7953 GB, free: 136 MB / 0.6512 GB Notification: Performance of matching and sorting (n=828): time 0.04775/0.7389, allocations: 44.82 MB / 0.8391 GB, free: 106.6 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/0.7391, allocations: 1.155 MB / 0.8402 GB, free: 105.2 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00555/0.7446, allocations: 6.122 MB / 0.8462 GB, free: 99.16 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0007217/0.7454, allocations: 97.69 kB / 0.8463 GB, free: 99.05 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.7466, allocations: 3.061 MB / 0.8493 GB, free: 96.01 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/0.748, allocations: 2.811 MB / 0.852 GB, free: 93.24 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/0.7497, allocations: 1.898 MB / 0.8539 GB, free: 91.33 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.556e-05/0.7498, allocations: 301.1 kB / 0.8541 GB, free: 91.03 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004176/0.7539, allocations: 4.538 MB / 0.8586 GB, free: 86.47 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004968/0.7589, allocations: 7.843 MB / 0.8662 GB, free: 77.28 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2676/1.027, allocations: 85.25 MB / 0.9495 GB, free: 8.035 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.287e-05/1.027, allocations: 24 kB / 0.9495 GB, free: 8.012 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.01981/1.046, allocations: 13.49 MB / 0.9627 GB, free: 10.44 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 9.499e-05/1.046, allocations: 108.2 kB / 0.9628 GB, free: 10.33 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01228/1.059, allocations: 10.2 MB / 0.9727 GB, free: 48 kB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/1.06, allocations: 0.6762 MB / 0.9734 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/1.064, allocations: 2.422 MB / 0.9758 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/1.075, allocations: 14.44 MB / 0.9899 GB, free: 13.69 MB / 0.7137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/1.079, allocations: 427.2 kB / 0.9903 GB, free: 13.27 MB / 0.7137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006575/1.08, allocations: 0.5777 MB / 0.9908 GB, free: 12.69 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.008631/1.088, allocations: 6.381 MB / 0.9971 GB, free: 6.289 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006361/1.095, allocations: 7.791 MB / 1.005 GB, free: 13.11 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6671/1.762, allocations: 84.87 MB / 1.088 GB, free: 260.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-05/1.762, allocations: 25.34 kB / 1.088 GB, free: 260.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1231) (initialization_lambda0): time 0.01891/1.781, allocations: 13.38 MB / 1.101 GB, free: 251.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/1.781, allocations: 103.4 kB / 1.101 GB, free: 251.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01073/1.792, allocations: 10.1 MB / 1.111 GB, free: 241.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/1.793, allocations: 0.6838 MB / 1.111 GB, free: 240.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/1.797, allocations: 2.41 MB / 1.114 GB, free: 238.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007181/1.804, allocations: 14.44 MB / 1.128 GB, free: 223.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005001/1.809, allocations: 422.8 kB / 1.128 GB, free: 222.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006171/1.81, allocations: 0.5739 MB / 1.129 GB, free: 222.3 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.002288/1.812, allocations: 0.8123 MB / 1.13 GB, free: 221.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/1.813, allocations: 0.7293 MB / 1.13 GB, free: 221.3 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.01097/1.824, allocations: 11.12 MB / 1.141 GB, free: 210.6 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.8638793574646115] Failed to read output from testmodel.py, exit status != 0: 2.0061713801696897 2.013419241 1.778102192 Calling exit ...