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.001798/0.001798, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.003365/0.003365, allocations: 211.8 kB / 22.24 MB, free: 5.121 MB / 14.72 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.687/1.687, allocations: 230.6 MB / 256 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.06365/0.06365, allocations: 12.18 MB / 324.6 MB, free: 7.16 MB / 254.1 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.001108/0.001108, allocations: 31.05 kB / 384.1 MB, free: 47.36 MB / 302.1 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 2.708/2.708, allocations: 353.9 MB / 0.7787 GB, free: 1.598 MB / 0.5138 GB " [Timeout remaining time 177] 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.004558/0.004558, allocations: 132 kB / 1.06 GB, free: 12.54 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4111, allocations: 134.9 MB / 1.192 GB, free: 5.762 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator): time 0.03257/0.4436, allocations: 21.97 MB / 1.214 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03903/0.4827, allocations: 25.75 MB / 1.239 GB, free: 5.883 MB / 0.8732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008941/0.4836, allocations: 15.81 kB / 1.239 GB, free: 5.867 MB / 0.8732 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.4847, allocations: 266.2 kB / 1.239 GB, free: 5.605 MB / 0.8732 GB Notification: Performance of NFTyping.typeBindings: time 0.009752/0.4944, allocations: 2.597 MB / 1.242 GB, free: 3 MB / 0.8732 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.4963, allocations: 0.5247 MB / 1.242 GB, free: 2.477 MB / 0.8732 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.498, allocations: 0.9511 MB / 1.243 GB, free: 1.52 MB / 0.8732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006048/0.4986, allocations: 304.2 kB / 1.243 GB, free: 1.215 MB / 0.8732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.4997, allocations: 489.9 kB / 1.244 GB, free: 0.7344 MB / 0.8732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.5002, allocations: 358.5 kB / 1.244 GB, free: 392 kB / 0.8732 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-05/0.5003, allocations: 48 kB / 1.244 GB, free: 344 kB / 0.8732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.5158, allocations: 7.375 MB / 1.251 GB, free: 8.945 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.516, allocations: 143.4 kB / 1.251 GB, free: 8.805 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.000369/0.5164, allocations: 238.9 kB / 1.252 GB, free: 8.57 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.02563/0.542, allocations: 8.025 MB / 1.26 GB, free: 0.5352 MB / 0.8888 GB Notification: Performance of FrontEnd - DAE generated: time 8.597e-06/0.542, allocations: 0 / 1.26 GB, free: 0.5352 MB / 0.8888 GB Notification: Performance of FrontEnd: time 5.34e-06/0.542, allocations: 4 kB / 1.26 GB, free: 0.5312 MB / 0.8888 GB Notification: Performance of Transformations before backend: time 3.58e-05/0.5421, allocations: 0 / 1.26 GB, free: 0.5312 MB / 0.8888 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.007675/0.5498, allocations: 1.152 MB / 1.261 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.5498, allocations: 11.98 kB / 1.261 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.5517, allocations: 187.5 kB / 1.261 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.5527, allocations: 372.8 kB / 1.261 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.5528, allocations: 29 kB / 1.261 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5529, allocations: 55.81 kB / 1.261 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/0.5548, allocations: 0.6904 MB / 1.262 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5548, allocations: 0 / 1.262 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/0.5549, allocations: 16 kB / 1.262 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.5549, allocations: 16 kB / 1.262 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.5575, allocations: 0.7298 MB / 1.263 GB, free: 13.2 MB / 0.9044 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.003269/0.5608, allocations: 1.599 MB / 1.264 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.5626, allocations: 0.5506 MB / 1.265 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008771/0.5635, allocations: 322.4 kB / 1.265 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001673/0.5652, allocations: 431.5 kB / 1.266 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.855e-05/0.5652, allocations: 34.56 kB / 1.266 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 2.706e-06/0.5652, allocations: 0 / 1.266 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.007223/0.5724, allocations: 2.005 MB / 1.268 GB, free: 8.137 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.5725, allocations: 114.7 kB / 1.268 GB, free: 8 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.5731, allocations: 288.2 kB / 1.268 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.5731, allocations: 29.7 kB / 1.268 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.5733, allocations: 216.8 kB / 1.268 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.5735, allocations: 146.7 kB / 1.268 GB, free: 7.312 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.5737, allocations: 81.66 kB / 1.268 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5739, allocations: 342.8 kB / 1.269 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008517/0.5747, allocations: 263.8 kB / 1.269 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009069/0.5756, allocations: 366.4 kB / 1.269 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.5773, allocations: 0.5322 MB / 1.27 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5773, allocations: 8 kB / 1.27 GB, free: 5.691 MB / 0.9044 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002302/0.5796, allocations: 0.6947 MB / 1.271 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5796, allocations: 8.062 kB / 1.271 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5796, allocations: 0 / 1.271 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.58, allocations: 72.8 kB / 1.271 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.5806, allocations: 119.8 kB / 1.271 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.5826, allocations: 1.665 MB / 1.272 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.5832, allocations: 47.94 kB / 1.272 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/0.5832, allocations: 23.97 kB / 1.272 GB, free: 2.953 MB / 0.9044 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.0003973/0.5836, allocations: 165.8 kB / 1.273 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.584, allocations: 43.75 kB / 1.273 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/0.588, allocations: 1.897 MB / 1.274 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.588, allocations: 12.03 kB / 1.274 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5881, allocations: 7.984 kB / 1.274 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.5881, allocations: 0 / 1.274 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.5899, allocations: 0.9213 MB / 1.275 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.5899, allocations: 3.938 kB / 1.275 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.5905, allocations: 115.8 kB / 1.275 GB, free: 15.74 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004245/0.5909, allocations: 100.7 kB / 1.276 GB, free: 15.64 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.05e-05/0.591, allocations: 19.98 kB / 1.276 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.5929, allocations: 1.657 MB / 1.277 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5929, allocations: 128 / 1.277 GB, free: 13.86 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.5968, allocations: 1.53 MB / 1.279 GB, free: 12.31 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.5971, allocations: 119.5 kB / 1.279 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.357e-05/0.5972, allocations: 8 kB / 1.279 GB, free: 12.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005518/0.5978, allocations: 55.92 kB / 1.279 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.5979, allocations: 44.42 kB / 1.279 GB, free: 12.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.5979, allocations: 19.98 kB / 1.279 GB, free: 12.07 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003055/0.5982, allocations: 207.1 kB / 1.279 GB, free: 11.86 MB / 0.92 GB Notification: Performance of sort global known variables: time 6e-08/0.5982, allocations: 0 / 1.279 GB, free: 11.86 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004762/0.603, allocations: 0.5221 MB / 1.28 GB, free: 11.34 MB / 0.92 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.02201/0.625, allocations: 4.866 MB / 1.284 GB, free: 6.461 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002926/0.6279, allocations: 0.8287 MB / 1.285 GB, free: 5.617 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.6279, allocations: 4 kB / 1.285 GB, free: 5.613 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.6294, allocations: 0.5446 MB / 1.286 GB, free: 5.059 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.6305, allocations: 126.5 kB / 1.286 GB, free: 4.941 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.634, allocations: 1.242 MB / 1.287 GB, free: 3.664 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.6344, allocations: 272.2 kB / 1.287 GB, free: 3.371 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006877/0.6351, allocations: 309.6 kB / 1.288 GB, free: 3.078 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.6353, allocations: 63.39 kB / 1.288 GB, free: 3.02 MB / 0.92 GB Notification: Performance of SimCode: time 1.473e-06/0.6353, allocations: 3.938 kB / 1.288 GB, free: 3.016 MB / 0.92 GB Notification: Performance of Templates: time 0.7144/1.35, allocations: 25.76 MB / 1.313 GB, free: 106.6 MB / 0.9357 GB " [Timeout remaining time 659] 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: 15.986556936055422] Failed to read output from testmodel.py, exit status != 0: 1.3595986925065517 1.387518168 0.839843367 Calling exit ...