Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator.conf.json 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.0007288/0.0007288, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 13.93 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.0006887/0.0006887, allocations: 216.9 kB / 23 MB, free: 2.988 MB / 13.93 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.8377/0.8377, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03489/0.03489, allocations: 12.19 MB / 325.4 MB, free: 6.105 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000411/0.000411, allocations: 31.94 kB / 384.8 MB, free: 10.52 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.46/1.46, allocations: 353.8 MB / 0.7794 GB, free: 4.52 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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) Running command: translateModel(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator") translateModel(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 117.6 kB / 1.061 GB, free: 24.47 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2329, allocations: 134.9 MB / 1.193 GB, free: 6.934 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator): time 0.01524/0.2481, allocations: 21.95 MB / 1.214 GB, free: 0.9023 MB / 0.8387 GB Notification: Performance of NFInst.instExpressions: time 0.01633/0.2645, allocations: 25.75 MB / 1.239 GB, free: 7.066 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.2647, allocations: 19.81 kB / 1.24 GB, free: 7.047 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.2653, allocations: 262.2 kB / 1.24 GB, free: 6.789 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.003007/0.2683, allocations: 2.595 MB / 1.242 GB, free: 4.184 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.2689, allocations: 0.5356 MB / 1.243 GB, free: 3.648 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.000715/0.2697, allocations: 0.9471 MB / 1.244 GB, free: 2.695 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.27, allocations: 308.3 kB / 1.244 GB, free: 2.387 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004862/0.2705, allocations: 493.9 kB / 1.245 GB, free: 1.902 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.2707, allocations: 362.4 kB / 1.245 GB, free: 1.547 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.2708, allocations: 48 kB / 1.245 GB, free: 1.5 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006448/0.2772, allocations: 7.371 MB / 1.252 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.2773, allocations: 135.5 kB / 1.252 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.2774, allocations: 235 kB / 1.252 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.007902/0.2853, allocations: 8.037 MB / 1.26 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2854, allocations: 0 / 1.26 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2854, allocations: 0 / 1.26 GB, free: 1.703 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2854, allocations: 0 / 1.26 GB, free: 1.703 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002183/0.2875, allocations: 1.149 MB / 1.261 GB, free: 0.5195 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2876, allocations: 12.03 kB / 1.261 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/0.2884, allocations: 187.5 kB / 1.262 GB, free: 332 kB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.2888, allocations: 368.8 kB / 1.262 GB, free: 15.93 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.2889, allocations: 37 kB / 1.262 GB, free: 15.9 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.2889, allocations: 39.95 kB / 1.262 GB, free: 15.86 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009053/0.2898, allocations: 0.6903 MB / 1.263 GB, free: 15.14 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2898, allocations: 4 kB / 1.263 GB, free: 15.14 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.2899, allocations: 16 kB / 1.263 GB, free: 15.12 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2899, allocations: 8 kB / 1.263 GB, free: 15.11 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.2909, allocations: 0.7376 MB / 1.263 GB, free: 14.38 MB / 0.9012 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.00164/0.2926, allocations: 1.603 MB / 1.265 GB, free: 12.72 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009095/0.2935, allocations: 0.5497 MB / 1.266 GB, free: 12.15 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.2939, allocations: 326.4 kB / 1.266 GB, free: 11.82 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/0.2946, allocations: 427.5 kB / 1.266 GB, free: 11.4 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2947, allocations: 42.5 kB / 1.266 GB, free: 11.35 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=39): time 2.505e-06/0.2947, allocations: 0 / 1.266 GB, free: 11.35 MB / 0.9012 GB Notification: Performance of matching and sorting (n=40): time 0.003407/0.2981, allocations: 2.002 MB / 1.268 GB, free: 9.309 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.2981, allocations: 106.8 kB / 1.268 GB, free: 9.18 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2983, allocations: 280.2 kB / 1.269 GB, free: 8.898 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2983, allocations: 37.7 kB / 1.269 GB, free: 8.855 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.2984, allocations: 216.8 kB / 1.269 GB, free: 8.637 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.2985, allocations: 146.7 kB / 1.269 GB, free: 8.492 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.89e-05/0.2986, allocations: 81.66 kB / 1.269 GB, free: 8.406 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.2986, allocations: 338.8 kB / 1.269 GB, free: 8.066 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.299, allocations: 275.7 kB / 1.27 GB, free: 7.797 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.2995, allocations: 366.4 kB / 1.27 GB, free: 7.414 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/0.3003, allocations: 0.5316 MB / 1.271 GB, free: 6.871 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3003, allocations: 0 / 1.271 GB, free: 6.871 MB / 0.9012 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001217/0.3015, allocations: 0.6987 MB / 1.271 GB, free: 6.164 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3015, allocations: 8 kB / 1.271 GB, free: 6.156 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3015, allocations: 3.938 kB / 1.271 GB, free: 6.152 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001807/0.3017, allocations: 76.83 kB / 1.271 GB, free: 6.074 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3019, allocations: 115.8 kB / 1.271 GB, free: 5.961 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009971/0.3029, allocations: 1.661 MB / 1.273 GB, free: 4.199 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.3031, allocations: 55.95 kB / 1.273 GB, free: 4.145 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.3031, allocations: 19.98 kB / 1.273 GB, free: 4.125 MB / 0.9012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.3033, allocations: 165.7 kB / 1.273 GB, free: 3.953 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3034, allocations: 43.81 kB / 1.273 GB, free: 3.91 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.3052, allocations: 1.903 MB / 1.275 GB, free: 1.992 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3052, allocations: 11.98 kB / 1.275 GB, free: 1.98 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3052, allocations: 0 / 1.275 GB, free: 1.98 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3052, allocations: 3.984 kB / 1.275 GB, free: 1.977 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.306, allocations: 0.9136 MB / 1.276 GB, free: 1.02 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.306, allocations: 3.938 kB / 1.276 GB, free: 1.016 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.3062, allocations: 119.8 kB / 1.276 GB, free: 0.8984 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.3064, allocations: 100.8 kB / 1.276 GB, free: 0.7969 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.3064, allocations: 15.98 kB / 1.276 GB, free: 0.7812 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008908/0.3073, allocations: 1.661 MB / 1.278 GB, free: 15.02 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3073, allocations: 0 / 1.278 GB, free: 15.02 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001891/0.3092, allocations: 1.546 MB / 1.279 GB, free: 13.45 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.3093, allocations: 103.5 kB / 1.28 GB, free: 13.35 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.3094, allocations: 12 kB / 1.28 GB, free: 13.34 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3096, allocations: 55.92 kB / 1.28 GB, free: 13.28 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.3096, allocations: 40.36 kB / 1.28 GB, free: 13.24 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.3097, allocations: 24.05 kB / 1.28 GB, free: 13.22 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.0001259/0.3098, allocations: 207.1 kB / 1.28 GB, free: 13.02 MB / 0.9168 GB Notification: Performance of sort global known variables: time 6e-08/0.3098, allocations: 3.938 kB / 1.28 GB, free: 13.01 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.001331/0.3111, allocations: 0.5221 MB / 1.28 GB, free: 12.49 MB / 0.9168 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (twoPhaseSeperator.hTan) * Number of discrete variables: 9 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6,$cse7.phase,$cse8,$cse11.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009544/0.3207, allocations: 4.856 MB / 1.285 GB, free: 7.613 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.3218, allocations: 0.8326 MB / 1.286 GB, free: 6.766 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3218, allocations: 0 / 1.286 GB, free: 6.766 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.3224, allocations: 0.5524 MB / 1.286 GB, free: 6.203 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3228, allocations: 132.4 kB / 1.287 GB, free: 6.074 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3241, allocations: 1.255 MB / 1.288 GB, free: 4.777 MB / 0.9168 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.3242, allocations: 272.2 kB / 1.288 GB, free: 4.484 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3244, allocations: 67.38 kB / 1.288 GB, free: 4.422 MB / 0.9168 GB Notification: Performance of SimCode: time 7.81e-07/0.3244, allocations: 3.938 kB / 1.288 GB, free: 4.418 MB / 0.9168 GB Notification: Performance of Templates: time 0.01772/0.3421, allocations: 26.91 MB / 1.314 GB, free: 9.523 MB / 0.948 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator.pipe ; mkfifo AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator.pipe >> ../files/AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator.sim & ./AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.168370093218982] Failed to read output from testmodel.py, exit status != 0: 0.34745326731354 0.35456907000000004 0.06756556100000001 Calling exit ...