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.0009118/0.0009118, allocations: 115 kB / 19.7 MB, free: 0.5234 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.001066/0.001066, allocations: 211.7 kB / 23.01 MB, free: 3.098 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.9524/0.9524, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.03863/0.03863, allocations: 12.18 MB / 325.4 MB, free: 3.449 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.0006554/0.0006554, allocations: 31.14 kB / 384.9 MB, free: 45.82 MB / 298.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.804/1.804, allocations: 353.8 MB / 0.7795 GB, free: 13.06 MB / 0.5262 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.001489/0.001489, allocations: 122.2 kB / 1.061 GB, free: 9.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2534, allocations: 134.9 MB / 1.193 GB, free: 2.602 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator): time 0.02022/0.2736, allocations: 24.04 MB / 1.216 GB, free: 10.48 MB / 0.8543 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.2964, allocations: 29.17 MB / 1.245 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007972/0.2972, allocations: 19.81 kB / 1.245 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.2982, allocations: 282.2 kB / 1.245 GB, free: 12.91 MB / 0.8855 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.007176/0.3054, allocations: 2.647 MB / 1.248 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.3072, allocations: 0.5518 MB / 1.248 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.3085, allocations: 0.9472 MB / 1.249 GB, free: 8.754 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/0.309, allocations: 312.5 kB / 1.25 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008962/0.3099, allocations: 0.494 MB / 1.25 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.3103, allocations: 386.5 kB / 1.25 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.3104, allocations: 48 kB / 1.25 GB, free: 7.52 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.3211, allocations: 7.633 MB / 1.258 GB, free: 15.87 MB / 0.9012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.3213, allocations: 131.5 kB / 1.258 GB, free: 15.74 MB / 0.9012 GB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.3216, allocations: 282.6 kB / 1.258 GB, free: 15.46 MB / 0.9012 GB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.3369, allocations: 8.029 MB / 1.266 GB, free: 7.426 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.3369, allocations: 0 / 1.266 GB, free: 7.426 MB / 0.9012 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3369, allocations: 0 / 1.266 GB, free: 7.426 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.3369, allocations: 0 / 1.266 GB, free: 7.426 MB / 0.9012 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.004801/0.3417, allocations: 1.153 MB / 1.267 GB, free: 6.238 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.3418, allocations: 15.98 kB / 1.267 GB, free: 6.223 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008934/0.3427, allocations: 183.5 kB / 1.267 GB, free: 6.043 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.3433, allocations: 372.8 kB / 1.268 GB, free: 5.652 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.3433, allocations: 33 kB / 1.268 GB, free: 5.621 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.747e-05/0.3433, allocations: 47.89 kB / 1.268 GB, free: 5.574 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3444, allocations: 0.6614 MB / 1.269 GB, free: 4.895 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3444, allocations: 4 kB / 1.269 GB, free: 4.891 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.3444, allocations: 20 kB / 1.269 GB, free: 4.871 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3444, allocations: 12 kB / 1.269 GB, free: 4.859 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3457, allocations: 0.7375 MB / 1.269 GB, free: 4.121 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.00209/0.3478, allocations: 2.07 MB / 1.271 GB, free: 1.918 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.3488, allocations: 0.5389 MB / 1.272 GB, free: 1.352 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004565/0.3492, allocations: 338.3 kB / 1.272 GB, free: 1.012 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008853/0.3501, allocations: 423.4 kB / 1.273 GB, free: 0.5977 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3502, allocations: 42.56 kB / 1.273 GB, free: 0.5469 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=39): time 3.025e-06/0.3502, allocations: 0 / 1.273 GB, free: 0.5469 MB / 0.9012 GB Notification: Performance of matching and sorting (n=40): time 0.003834/0.354, allocations: 1.997 MB / 1.275 GB, free: 14.51 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.354, allocations: 114.7 kB / 1.275 GB, free: 14.37 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.3543, allocations: 312.6 kB / 1.275 GB, free: 14.06 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.3543, allocations: 33.7 kB / 1.275 GB, free: 14.02 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3545, allocations: 220.8 kB / 1.275 GB, free: 13.8 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.3545, allocations: 146.8 kB / 1.275 GB, free: 13.65 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/0.3546, allocations: 81.59 kB / 1.275 GB, free: 13.57 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.3547, allocations: 350.7 kB / 1.276 GB, free: 13.21 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/0.3552, allocations: 267.8 kB / 1.276 GB, free: 12.95 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/0.3557, allocations: 315 kB / 1.276 GB, free: 12.63 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.3565, allocations: 0.5359 MB / 1.277 GB, free: 12.09 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.3565, allocations: 3.984 kB / 1.277 GB, free: 12.08 MB / 0.9168 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001171/0.3577, allocations: 0.6989 MB / 1.278 GB, free: 11.38 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3577, allocations: 4 kB / 1.278 GB, free: 11.37 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.3577, allocations: 0 / 1.278 GB, free: 11.37 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002404/0.358, allocations: 76.81 kB / 1.278 GB, free: 11.29 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.3582, allocations: 119.8 kB / 1.278 GB, free: 11.18 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.3596, allocations: 1.687 MB / 1.279 GB, free: 9.375 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.3599, allocations: 51.91 kB / 1.279 GB, free: 9.324 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.3599, allocations: 31.97 kB / 1.279 GB, free: 9.293 MB / 0.9168 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.0002224/0.3601, allocations: 158.7 kB / 1.28 GB, free: 9.129 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.3603, allocations: 39.77 kB / 1.28 GB, free: 9.09 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.3623, allocations: 1.914 MB / 1.282 GB, free: 7.184 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.3624, allocations: 19.98 kB / 1.282 GB, free: 7.164 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3624, allocations: 0 / 1.282 GB, free: 7.164 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3624, allocations: 0 / 1.282 GB, free: 7.164 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.3634, allocations: 1.057 MB / 1.283 GB, free: 6.051 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3634, allocations: 0 / 1.283 GB, free: 6.051 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.3637, allocations: 123.9 kB / 1.283 GB, free: 5.93 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002346/0.3639, allocations: 96.72 kB / 1.283 GB, free: 5.832 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.3639, allocations: 11.98 kB / 1.283 GB, free: 5.82 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.3653, allocations: 1.699 MB / 1.284 GB, free: 4.008 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3653, allocations: 4.062 kB / 1.284 GB, free: 4.004 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.3673, allocations: 1.538 MB / 1.286 GB, free: 2.445 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.3674, allocations: 119.6 kB / 1.286 GB, free: 2.328 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.3675, allocations: 8 kB / 1.286 GB, free: 2.32 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.3677, allocations: 55.88 kB / 1.286 GB, free: 2.266 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.549e-05/0.3678, allocations: 44.34 kB / 1.286 GB, free: 2.223 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.3678, allocations: 19.98 kB / 1.286 GB, free: 2.203 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.0001903/0.368, allocations: 231.1 kB / 1.286 GB, free: 1.98 MB / 0.9168 GB Notification: Performance of sort global known variables: time 8e-08/0.368, allocations: 0 / 1.286 GB, free: 1.98 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.002996/0.371, allocations: 0.5221 MB / 1.287 GB, free: 1.457 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.01342/0.3844, allocations: 4.875 MB / 1.292 GB, free: 12.56 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.3861, allocations: 0.8365 MB / 1.293 GB, free: 11.71 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3861, allocations: 0 / 1.293 GB, free: 11.71 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0007618/0.3868, allocations: 0.5446 MB / 1.293 GB, free: 11.15 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.3875, allocations: 138.4 kB / 1.293 GB, free: 11.02 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3892, allocations: 1.27 MB / 1.294 GB, free: 9.715 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3895, allocations: 0.8681 MB / 1.295 GB, free: 8.824 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3897, allocations: 63.39 kB / 1.295 GB, free: 8.762 MB / 0.9324 GB Notification: Performance of SimCode: time 1.232e-06/0.3897, allocations: 0 / 1.295 GB, free: 8.762 MB / 0.9324 GB Notification: Performance of Templates: time 0.6075/0.9972, allocations: 26.97 MB / 1.322 GB, free: 100.4 MB / 0.9324 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: 11.502980755642056] Failed to read output from testmodel.py, exit status != 0: 1.0046768710017204 1.015128192 0.6758316240000001 Calling exit ...