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.0014/0.0014, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001878/0.001878, allocations: 213.8 kB / 22.25 MB, free: 5.125 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 8.008 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.06775/0.06775, allocations: 12.19 MB / 324.6 MB, free: 7.277 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.0008529/0.0008529, allocations: 34.75 kB / 384.1 MB, free: 46.63 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.8 MB / 0.7787 GB, free: 1.062 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.00364/0.00364, allocations: 125.4 kB / 1.061 GB, free: 12.98 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3217, allocations: 134.9 MB / 1.192 GB, free: 6.16 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator): time 0.03116/0.3528, allocations: 24.05 MB / 1.216 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03699/0.3898, allocations: 29.16 MB / 1.244 GB, free: 0.7695 MB / 0.8732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008081/0.3906, allocations: 15.88 kB / 1.244 GB, free: 0.7539 MB / 0.8732 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.3917, allocations: 294 kB / 1.245 GB, free: 476 kB / 0.8732 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/Fluid/Storage/TwoPhaseSeparator.mo:216:5-216:29:writable] Warning: Conditional component 'heatPort' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.0095/0.4012, allocations: 2.631 MB / 1.247 GB, free: 13.82 MB / 0.8888 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.4031, allocations: 0.5578 MB / 1.248 GB, free: 13.27 MB / 0.8888 GB Notification: Performance of NFFlatten.flatten: time 0.001813/0.4049, allocations: 0.9549 MB / 1.249 GB, free: 12.31 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008898/0.4058, allocations: 304.5 kB / 1.249 GB, free: 12 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.4072, allocations: 0.4979 MB / 1.249 GB, free: 11.5 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/0.408, allocations: 382.5 kB / 1.25 GB, free: 11.13 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.4082, allocations: 48 kB / 1.25 GB, free: 11.08 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01605/0.4242, allocations: 7.629 MB / 1.257 GB, free: 3.438 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.4246, allocations: 139.4 kB / 1.257 GB, free: 3.301 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.0006027/0.4252, allocations: 274.7 kB / 1.258 GB, free: 3.031 MB / 0.8888 GB Notification: Performance of NFConvertDAE.convert: time 0.02293/0.4481, allocations: 8.029 MB / 1.265 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.4481, allocations: 0 / 1.265 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4481, allocations: 4 kB / 1.265 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.199e-05/0.4482, allocations: 3.938 kB / 1.265 GB, free: 10.98 MB / 0.9044 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.008689/0.4568, allocations: 1.161 MB / 1.267 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/0.4569, allocations: 11.98 kB / 1.267 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.459, allocations: 183.5 kB / 1.267 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.4601, allocations: 376.8 kB / 1.267 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.4602, allocations: 29 kB / 1.267 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.4603, allocations: 47.95 kB / 1.267 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.4623, allocations: 0.6613 MB / 1.268 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.4624, allocations: 4 kB / 1.268 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.4624, allocations: 16 kB / 1.268 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.4624, allocations: 12 kB / 1.268 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.4647, allocations: 0.7376 MB / 1.269 GB, free: 7.68 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.00396/0.4687, allocations: 2.07 MB / 1.271 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.4707, allocations: 0.5479 MB / 1.271 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009208/0.4716, allocations: 326.4 kB / 1.271 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/0.4734, allocations: 427.5 kB / 1.272 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.4734, allocations: 46.48 kB / 1.272 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=39): time 2.866e-06/0.4734, allocations: 0 / 1.272 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=40): time 0.007604/0.481, allocations: 2.005 MB / 1.274 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.4811, allocations: 106.8 kB / 1.274 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.4816, allocations: 312.6 kB / 1.274 GB, free: 1.613 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.4817, allocations: 33.7 kB / 1.274 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.4819, allocations: 224.8 kB / 1.275 GB, free: 1.348 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.4821, allocations: 138.8 kB / 1.275 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.4823, allocations: 81.61 kB / 1.275 GB, free: 1.125 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.4824, allocations: 346.8 kB / 1.275 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000859/0.4833, allocations: 267.7 kB / 1.275 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009152/0.4842, allocations: 319 kB / 1.276 GB, free: 196 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.486, allocations: 0.5398 MB / 1.276 GB, free: 15.64 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.486, allocations: 0 / 1.276 GB, free: 15.64 MB / 0.92 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002504/0.4885, allocations: 0.6989 MB / 1.277 GB, free: 14.93 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.4885, allocations: 8 kB / 1.277 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4886, allocations: 0 / 1.277 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004052/0.489, allocations: 72.84 kB / 1.277 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.4895, allocations: 115.8 kB / 1.277 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.4917, allocations: 1.699 MB / 1.279 GB, free: 12.93 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005405/0.4923, allocations: 56.03 kB / 1.279 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.4924, allocations: 23.92 kB / 1.279 GB, free: 12.85 MB / 0.92 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.0003402/0.4927, allocations: 162.6 kB / 1.279 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/0.493, allocations: 39.77 kB / 1.279 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003988/0.497, allocations: 1.911 MB / 1.281 GB, free: 10.74 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/0.497, allocations: 19.92 kB / 1.281 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.497, allocations: 0 / 1.281 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.497, allocations: 7.984 kB / 1.281 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.4989, allocations: 1.057 MB / 1.282 GB, free: 9.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4989, allocations: 0 / 1.282 GB, free: 9.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.4995, allocations: 119.9 kB / 1.282 GB, free: 9.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004413/0.4999, allocations: 96.78 kB / 1.282 GB, free: 9.383 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/0.5, allocations: 15.98 kB / 1.282 GB, free: 9.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/0.502, allocations: 1.703 MB / 1.284 GB, free: 7.551 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.502, allocations: 3.938 kB / 1.284 GB, free: 7.547 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/0.5058, allocations: 1.542 MB / 1.285 GB, free: 5.984 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/0.5062, allocations: 111.5 kB / 1.285 GB, free: 5.875 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.5063, allocations: 12 kB / 1.285 GB, free: 5.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/0.5068, allocations: 55.86 kB / 1.285 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.507, allocations: 44.42 kB / 1.285 GB, free: 5.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.507, allocations: 19.98 kB / 1.285 GB, free: 5.746 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003454/0.5074, allocations: 227 kB / 1.286 GB, free: 5.527 MB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.5074, allocations: 0 / 1.286 GB, free: 5.527 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004101/0.5115, allocations: 0.526 MB / 1.286 GB, free: 5 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.02206/0.5335, allocations: 4.86 MB / 1.291 GB, free: 124 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003032/0.5366, allocations: 0.8326 MB / 1.292 GB, free: 15.27 MB / 0.9357 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5366, allocations: 4 kB / 1.292 GB, free: 15.26 MB / 0.9357 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.5382, allocations: 0.5446 MB / 1.292 GB, free: 14.71 MB / 0.9357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.5394, allocations: 144.7 kB / 1.292 GB, free: 14.57 MB / 0.9357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.5424, allocations: 1.237 MB / 1.294 GB, free: 13.3 MB / 0.9357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.5432, allocations: 0.8759 MB / 1.295 GB, free: 12.41 MB / 0.9357 GB Notification: Performance of simCode: alias equations: time 0.0007923/0.544, allocations: 326.7 kB / 1.295 GB, free: 12.09 MB / 0.9357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.5442, allocations: 51.41 kB / 1.295 GB, free: 12.04 MB / 0.9357 GB Notification: Performance of SimCode: time 1.382e-06/0.5442, allocations: 0 / 1.295 GB, free: 12.04 MB / 0.9357 GB Notification: Performance of Templates: time 0.6335/1.178, allocations: 26.05 MB / 1.32 GB, free: 104.7 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.234288156032562] Failed to read output from testmodel.py, exit status != 0: 1.1871286742389202 1.199320817 0.748082736 Calling exit ...