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.01107/0.01107, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.001646/0.001646, allocations: 91.45 kB / 24.16 MB, free: 392 kB / 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.001478/0.001478, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8869/0.8869, allocations: 177.2 MB / 208.6 MB, free: 2.965 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.6797/0.6797, allocations: 102.5 MB / 367.9 MB, free: 1.512 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: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5362 GB, free: 40.08 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.268e-05, allocations: 3.406 kB / 0.5362 GB, free: 40.07 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.TestFeedWaterTank_1Separator): time 0.1202/0.1202, allocations: 70.78 MB / 0.6053 GB, free: 5.734 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02833/0.1486, allocations: 23.83 MB / 0.6286 GB, free: 13.83 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004092/0.1527, allocations: 158.8 kB / 0.6287 GB, free: 13.68 MB / 0.5262 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.004512/0.1572, allocations: 3.082 MB / 0.6317 GB, free: 10.58 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.007261/0.1644, allocations: 4.905 MB / 0.6365 GB, free: 5.645 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.1702, allocations: 4.175 MB / 0.6406 GB, free: 1.461 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01102/0.1813, allocations: 13.28 MB / 0.6536 GB, free: 4.125 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.1855, allocations: 4.097 MB / 0.6576 GB, free: 15.96 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006778/0.1923, allocations: 7.3 MB / 0.6647 GB, free: 8.645 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003841/0.1962, allocations: 4.902 MB / 0.6695 GB, free: 3.734 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0009046/0.1971, allocations: 0.871 MB / 0.6703 GB, free: 2.863 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003786/0.2008, allocations: 2.624 MB / 0.6729 GB, free: 240 kB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.2024, allocations: 2.889 MB / 0.6757 GB, free: 13.34 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002078/0.2044, allocations: 2.872 MB / 0.6785 GB, free: 10.46 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.2146, allocations: 14.1 MB / 0.6923 GB, free: 12.32 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2146, allocations: 4 kB / 0.6923 GB, free: 12.32 MB / 0.5887 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2146, allocations: 0 / 0.6923 GB, free: 12.32 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 0.00011/0.2147, allocations: 0 / 0.6923 GB, free: 12.32 MB / 0.5887 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.009844/0.2245, allocations: 8.968 MB / 0.701 GB, free: 3.254 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.2246, allocations: 8.031 kB / 0.7011 GB, free: 3.246 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006833/0.2253, allocations: 0.741 MB / 0.7018 GB, free: 2.492 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001772/0.227, allocations: 1.104 MB / 0.7029 GB, free: 1.383 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007162/0.2342, allocations: 6.999 MB / 0.7097 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.2343, allocations: 308.4 kB / 0.71 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004429/0.2348, allocations: 400.3 kB / 0.7104 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/0.2486, allocations: 13.52 MB / 0.7236 GB, free: 10.35 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.737e-05/0.2486, allocations: 47.5 kB / 0.7236 GB, free: 10.3 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003569/0.249, allocations: 216 kB / 0.7238 GB, free: 10.09 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002442/0.2492, allocations: 374.2 kB / 0.7242 GB, free: 9.727 MB / 0.6199 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.2623, allocations: 9.769 MB / 0.7337 GB, free: 15.93 MB / 0.6355 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.2873/0.5496, allocations: 39.55 MB / 0.7723 GB, free: 147.8 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.5627, allocations: 8.195 MB / 0.7803 GB, free: 145.7 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004301/0.567, allocations: 3.109 MB / 0.7834 GB, free: 144.2 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006366/0.5676, allocations: 250.5 kB / 0.7836 GB, free: 144.1 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0106/0.5782, allocations: 6.7 MB / 0.7902 GB, free: 140.6 MB / 0.6512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002852/0.5811, allocations: 0.803 MB / 0.7909 GB, free: 140.5 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=870): time 1.668e-05/0.5811, allocations: 0 / 0.7909 GB, free: 140.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=872): time 0.05122/0.6323, allocations: 50.48 MB / 0.8402 GB, free: 104.2 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/0.6325, allocations: 1.532 MB / 0.8417 GB, free: 102.3 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005432/0.6379, allocations: 6.224 MB / 0.8478 GB, free: 96.21 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.0009741/0.6389, allocations: 105.2 kB / 0.8479 GB, free: 96.1 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.6402, allocations: 2.819 MB / 0.8507 GB, free: 93.5 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001941/0.6421, allocations: 2.939 MB / 0.8535 GB, free: 90.98 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/0.644, allocations: 1.771 MB / 0.8553 GB, free: 89.2 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.532e-05/0.6441, allocations: 301.1 kB / 0.8556 GB, free: 88.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004137/0.6482, allocations: 4.211 MB / 0.8597 GB, free: 84.67 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/0.6529, allocations: 7.257 MB / 0.8668 GB, free: 76.26 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1282/0.7811, allocations: 51.1 MB / 0.9167 GB, free: 25.37 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.785e-05/0.7811, allocations: 20 kB / 0.9167 GB, free: 25.35 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.01789/0.799, allocations: 12.67 MB / 0.9291 GB, free: 12.64 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.7991, allocations: 73.75 kB / 0.9291 GB, free: 12.57 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01097/0.81, allocations: 10.05 MB / 0.9389 GB, free: 2.473 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.8119, allocations: 1.035 MB / 0.9399 GB, free: 1.441 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/0.8161, allocations: 2.348 MB / 0.9422 GB, free: 15.09 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008798/0.8249, allocations: 11.73 MB / 0.9537 GB, free: 2.684 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/0.829, allocations: 319.7 kB / 0.954 GB, free: 2.379 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006906/0.8297, allocations: 0.5426 MB / 0.9545 GB, free: 1.836 MB / 0.6668 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.0077/0.8374, allocations: 5.909 MB / 0.9603 GB, free: 11.92 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00589/0.8433, allocations: 7.207 MB / 0.9673 GB, free: 3.523 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.139/0.9823, allocations: 50.97 MB / 1.017 GB, free: 15.66 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.983e-05/0.9824, allocations: 16 kB / 1.017 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01838/1.001, allocations: 12.32 MB / 1.029 GB, free: 3.262 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.968e-05/1.001, allocations: 65.69 kB / 1.029 GB, free: 3.191 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01281/1.014, allocations: 9.696 MB / 1.039 GB, free: 9.438 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/1.015, allocations: 0.7431 MB / 1.039 GB, free: 8.699 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/1.02, allocations: 2.36 MB / 1.042 GB, free: 6.336 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2775/1.297, allocations: 11.52 MB / 1.053 GB, free: 266.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004783/1.302, allocations: 322.4 kB / 1.053 GB, free: 266.1 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008796/1.303, allocations: 0.5337 MB / 1.054 GB, free: 266.1 MB / 0.7605 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.002061/1.305, allocations: 0.7355 MB / 1.055 GB, free: 265.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.306, allocations: 0.7739 MB / 1.055 GB, free: 265.9 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 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.0122/1.318, allocations: 10.66 MB / 1.066 GB, free: 263.9 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.010413386859] Failed to read output from testmodel.py, exit status != 0: 1.463465633802116 1.470317385 1.254260634 Calling exit ...