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.0008393/0.0008393, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.0009135/0.0009135, allocations: 212.1 kB / 22.25 MB, free: 3.727 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.9574/0.9574, allocations: 230.6 MB / 256 MB, free: 9.582 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.03629/0.03629, allocations: 12.2 MB / 324.6 MB, free: 6.066 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.00049/0.00049, allocations: 35.88 kB / 384.1 MB, free: 10.5 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.653/1.653, allocations: 353.9 MB / 0.7787 GB, free: 4.562 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: "" <> buildModelFMU(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator,fileNamePrefix="AixLib_AixLib_Fluid_Storage_Examples_TwoPhaseSeparator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator,fileNamePrefix="AixLib_AixLib_Fluid_Storage_Examples_TwoPhaseSeparator",fmuType="me",version="2.0",platforms={"static"}) [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.001479/0.001479, allocations: 119.1 kB / 1.06 GB, free: 24.71 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2376, allocations: 134.9 MB / 1.192 GB, free: 7.461 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator): time 0.022/0.2596, allocations: 21.98 MB / 1.213 GB, free: 1.402 MB / 0.8387 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.2821, allocations: 25.74 MB / 1.238 GB, free: 7.578 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000718/0.2828, allocations: 15.88 kB / 1.238 GB, free: 7.562 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.284, allocations: 270.2 kB / 1.239 GB, free: 7.297 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.00656/0.2906, allocations: 2.587 MB / 1.241 GB, free: 4.699 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.2919, allocations: 0.5335 MB / 1.242 GB, free: 4.168 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.001254/0.2931, allocations: 0.9433 MB / 1.243 GB, free: 3.219 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005709/0.2937, allocations: 312.2 kB / 1.243 GB, free: 2.906 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009936/0.2947, allocations: 493.9 kB / 1.243 GB, free: 2.422 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.2951, allocations: 358.4 kB / 1.244 GB, free: 2.07 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.2951, allocations: 52 kB / 1.244 GB, free: 2.02 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.3057, allocations: 7.375 MB / 1.251 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.3059, allocations: 131.5 kB / 1.251 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.3063, allocations: 227 kB / 1.251 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.3205, allocations: 8.033 MB / 1.259 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.3206, allocations: 3.938 kB / 1.259 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3206, allocations: 0 / 1.259 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.3206, allocations: 7.938 kB / 1.259 GB, free: 2.223 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.005474/0.326, allocations: 1.145 MB / 1.26 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.3261, allocations: 12.03 kB / 1.26 GB, free: 1.031 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.565e-05/0.3262, allocations: 82.47 kB / 1.26 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009033/0.3271, allocations: 187.5 kB / 1.26 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.3277, allocations: 364.8 kB / 1.261 GB, free: 384 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.3277, allocations: 37 kB / 1.261 GB, free: 348 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.3278, allocations: 43.89 kB / 1.261 GB, free: 304 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.3289, allocations: 0.6905 MB / 1.262 GB, free: 15.57 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3289, allocations: 3.984 kB / 1.262 GB, free: 15.57 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.3289, allocations: 16 kB / 1.262 GB, free: 15.55 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.3289, allocations: 12 kB / 1.262 GB, free: 15.54 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.3301, allocations: 0.7375 MB / 1.262 GB, free: 14.8 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.002036/0.3322, allocations: 1.673 MB / 1.264 GB, free: 13.07 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.3332, allocations: 0.5436 MB / 1.264 GB, free: 12.5 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.3337, allocations: 326.4 kB / 1.265 GB, free: 12.17 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008979/0.3346, allocations: 431.5 kB / 1.265 GB, free: 11.75 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3346, allocations: 38.55 kB / 1.265 GB, free: 11.7 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=39): time 2.946e-06/0.3346, allocations: 4 kB / 1.265 GB, free: 11.7 MB / 0.9012 GB Notification: Performance of matching and sorting (n=40): time 0.004311/0.3389, allocations: 2.002 MB / 1.267 GB, free: 9.656 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.339, allocations: 110.8 kB / 1.267 GB, free: 9.523 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.3393, allocations: 312.6 kB / 1.268 GB, free: 9.211 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.3393, allocations: 33.7 kB / 1.268 GB, free: 9.172 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3394, allocations: 220.8 kB / 1.268 GB, free: 8.949 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.3395, allocations: 142.8 kB / 1.268 GB, free: 8.809 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-05/0.3396, allocations: 81.67 kB / 1.268 GB, free: 8.723 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3397, allocations: 342.8 kB / 1.268 GB, free: 8.379 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.3401, allocations: 271.8 kB / 1.269 GB, free: 8.113 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004741/0.3406, allocations: 362.4 kB / 1.269 GB, free: 7.734 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/0.3414, allocations: 0.5355 MB / 1.27 GB, free: 7.188 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3414, allocations: 0 / 1.27 GB, free: 7.188 MB / 0.9012 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001307/0.3428, allocations: 0.7064 MB / 1.27 GB, free: 6.473 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.3428, allocations: 4 kB / 1.27 GB, free: 6.469 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.3428, allocations: 4 kB / 1.27 GB, free: 6.465 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/0.343, allocations: 72.78 kB / 1.27 GB, free: 6.391 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.3433, allocations: 119.8 kB / 1.27 GB, free: 6.273 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.3448, allocations: 1.691 MB / 1.272 GB, free: 4.469 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.3451, allocations: 55.94 kB / 1.272 GB, free: 4.414 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.3451, allocations: 23.97 kB / 1.272 GB, free: 4.391 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.0002464/0.3454, allocations: 157.8 kB / 1.272 GB, free: 4.227 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.3455, allocations: 39.77 kB / 1.272 GB, free: 4.188 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/0.348, allocations: 1.91 MB / 1.274 GB, free: 2.258 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.3481, allocations: 11.98 kB / 1.274 GB, free: 2.246 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3481, allocations: 4 kB / 1.274 GB, free: 2.242 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.3481, allocations: 7.922 kB / 1.274 GB, free: 2.234 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3491, allocations: 0.9871 MB / 1.275 GB, free: 1.191 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3491, allocations: 0 / 1.275 GB, free: 1.191 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.3494, allocations: 123.9 kB / 1.275 GB, free: 1.07 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002363/0.3496, allocations: 100.7 kB / 1.275 GB, free: 0.9688 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.3497, allocations: 15.97 kB / 1.275 GB, free: 0.9531 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.3508, allocations: 1.68 MB / 1.277 GB, free: 15.16 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3508, allocations: 0 / 1.277 GB, free: 15.16 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.3528, allocations: 1.538 MB / 1.279 GB, free: 13.6 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.3529, allocations: 115.6 kB / 1.279 GB, free: 13.49 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.353, allocations: 8 kB / 1.279 GB, free: 13.48 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3532, allocations: 59.86 kB / 1.279 GB, free: 13.42 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.3533, allocations: 40.36 kB / 1.279 GB, free: 13.38 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.3533, allocations: 19.98 kB / 1.279 GB, free: 13.36 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.0001898/0.3535, allocations: 231 kB / 1.279 GB, free: 13.14 MB / 0.9168 GB Notification: Performance of sort global known variables: time 7e-08/0.3535, allocations: 0 / 1.279 GB, free: 13.14 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.002835/0.3564, allocations: 0.5298 MB / 1.279 GB, free: 12.61 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.01616/0.3725, allocations: 6.851 MB / 1.286 GB, free: 5.707 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.3742, allocations: 0.8249 MB / 1.287 GB, free: 4.871 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3742, allocations: 0 / 1.287 GB, free: 4.871 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.0007458/0.3749, allocations: 0.5562 MB / 1.288 GB, free: 4.305 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.3759, allocations: 149 kB / 1.288 GB, free: 4.156 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008715/0.3846, allocations: 5.011 MB / 1.293 GB, free: 15.04 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.3848, allocations: 268.2 kB / 1.293 GB, free: 14.75 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.0004527/0.3853, allocations: 322.5 kB / 1.293 GB, free: 14.44 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.3855, allocations: 199.3 kB / 1.293 GB, free: 14.24 MB / 0.9324 GB Notification: Performance of SimCode: time 1.462e-06/0.3855, allocations: 3.938 kB / 1.293 GB, free: 14.24 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05396/0.4395, allocations: 31.82 MB / 1.324 GB, free: 14.65 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/9.075, allocations: 0 / 1.324 GB, free: 14.65 MB / 0.9637 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_Storage_Examples_TwoPhaseSeparator_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_Storage_Examples_TwoPhaseSeparator.fmu > AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.996193499304354] Failed to read output from testmodel.py, exit status != 0: 9.186772500164807 9.196835651 8.874332915 Calling exit ...