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.0008219/0.0008219, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0009503/0.0009503, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9895/0.9895, allocations: 230.6 MB / 256 MB, free: 9.816 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.03972/0.03972, allocations: 12.18 MB / 324.6 MB, free: 6.293 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.0004633/0.0004633, allocations: 27.89 kB / 384.1 MB, free: 10.71 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.835/1.835, allocations: 353.8 MB / 0.7787 GB, free: 3.102 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.001464/0.001464, allocations: 128.5 kB / 1.06 GB, free: 24.96 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 134.9 MB / 1.192 GB, free: 7.871 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator): time 0.01939/0.2641, allocations: 24.06 MB / 1.215 GB, free: 15.73 MB / 0.8543 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.2872, allocations: 29.16 MB / 1.244 GB, free: 2.477 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006411/0.2879, allocations: 19.81 kB / 1.244 GB, free: 2.457 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.000818/0.2887, allocations: 282.2 kB / 1.244 GB, free: 2.18 MB / 0.8699 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.00609/0.2948, allocations: 2.641 MB / 1.247 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.2961, allocations: 0.5535 MB / 1.247 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.2973, allocations: 0.9472 MB / 1.248 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004692/0.2977, allocations: 320.2 kB / 1.248 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.2985, allocations: 0.5018 MB / 1.249 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.2989, allocations: 382.5 kB / 1.249 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.2989, allocations: 48 kB / 1.249 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009655/0.3086, allocations: 7.621 MB / 1.257 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.3087, allocations: 143.4 kB / 1.257 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.309, allocations: 270.7 kB / 1.257 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/0.3234, allocations: 8.033 MB / 1.265 GB, free: 12.7 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3234, allocations: 0 / 1.265 GB, free: 12.7 MB / 0.9012 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3234, allocations: 0 / 1.265 GB, free: 12.7 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.3234, allocations: 0 / 1.265 GB, free: 12.7 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.003981/0.3274, allocations: 1.161 MB / 1.266 GB, free: 11.5 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3274, allocations: 8.031 kB / 1.266 GB, free: 11.49 MB / 0.9012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.741e-05/0.3275, allocations: 82.52 kB / 1.266 GB, free: 11.4 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.3283, allocations: 183.5 kB / 1.266 GB, free: 11.22 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.3288, allocations: 372.7 kB / 1.267 GB, free: 10.83 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.3289, allocations: 36.94 kB / 1.267 GB, free: 10.8 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.3289, allocations: 43.95 kB / 1.267 GB, free: 10.75 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009626/0.3299, allocations: 0.6613 MB / 1.267 GB, free: 10.07 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3299, allocations: 4 kB / 1.267 GB, free: 10.07 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.3299, allocations: 20 kB / 1.267 GB, free: 10.05 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3299, allocations: 8 kB / 1.267 GB, free: 10.04 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.3311, allocations: 0.7376 MB / 1.268 GB, free: 9.301 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.002011/0.3331, allocations: 2.07 MB / 1.27 GB, free: 7.098 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/0.3341, allocations: 0.5514 MB / 1.271 GB, free: 6.52 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.3345, allocations: 330.3 kB / 1.271 GB, free: 6.188 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008813/0.3354, allocations: 419.5 kB / 1.271 GB, free: 5.777 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3354, allocations: 46.55 kB / 1.271 GB, free: 5.723 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=39): time 2.715e-06/0.3355, allocations: 0 / 1.271 GB, free: 5.723 MB / 0.9012 GB Notification: Performance of matching and sorting (n=40): time 0.003766/0.3392, allocations: 2.01 MB / 1.273 GB, free: 3.672 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.3393, allocations: 106.8 kB / 1.274 GB, free: 3.543 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.3396, allocations: 312.5 kB / 1.274 GB, free: 3.23 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3396, allocations: 41.64 kB / 1.274 GB, free: 3.184 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.3397, allocations: 212.8 kB / 1.274 GB, free: 2.969 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.3398, allocations: 146.8 kB / 1.274 GB, free: 2.824 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3399, allocations: 73.67 kB / 1.274 GB, free: 2.746 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.34, allocations: 346.8 kB / 1.275 GB, free: 2.398 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004324/0.3405, allocations: 267.8 kB / 1.275 GB, free: 2.137 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.3409, allocations: 315 kB / 1.275 GB, free: 1.816 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008952/0.3418, allocations: 0.5394 MB / 1.276 GB, free: 1.266 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3418, allocations: 0 / 1.276 GB, free: 1.266 MB / 0.9012 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001174/0.343, allocations: 0.6986 MB / 1.276 GB, free: 0.5586 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.343, allocations: 8 kB / 1.276 GB, free: 0.5508 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.343, allocations: 0 / 1.276 GB, free: 0.5508 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002309/0.3433, allocations: 76.8 kB / 1.276 GB, free: 484 kB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.3435, allocations: 111.9 kB / 1.277 GB, free: 372 kB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3449, allocations: 1.707 MB / 1.278 GB, free: 14.54 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.3451, allocations: 59.84 kB / 1.278 GB, free: 14.48 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.3452, allocations: 19.98 kB / 1.278 GB, free: 14.46 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.0002165/0.3454, allocations: 165.8 kB / 1.278 GB, free: 14.29 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.3455, allocations: 39.77 kB / 1.279 GB, free: 14.25 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.3476, allocations: 1.907 MB / 1.28 GB, free: 12.33 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.3477, allocations: 19.98 kB / 1.28 GB, free: 12.31 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3477, allocations: 0 / 1.28 GB, free: 12.31 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3477, allocations: 7.984 kB / 1.28 GB, free: 12.3 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.3488, allocations: 1.053 MB / 1.281 GB, free: 11.2 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.3488, allocations: 3.984 kB / 1.281 GB, free: 11.19 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002777/0.349, allocations: 127.8 kB / 1.282 GB, free: 11.07 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.3493, allocations: 96.73 kB / 1.282 GB, free: 10.97 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.3493, allocations: 15.97 kB / 1.282 GB, free: 10.95 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.3505, allocations: 1.691 MB / 1.283 GB, free: 9.148 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3505, allocations: 0 / 1.283 GB, free: 9.148 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.3525, allocations: 1.546 MB / 1.285 GB, free: 7.582 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.3527, allocations: 111.6 kB / 1.285 GB, free: 7.473 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.3528, allocations: 12 kB / 1.285 GB, free: 7.461 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.353, allocations: 59.86 kB / 1.285 GB, free: 7.402 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.3531, allocations: 40.3 kB / 1.285 GB, free: 7.363 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.3531, allocations: 23.97 kB / 1.285 GB, free: 7.34 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.0001822/0.3533, allocations: 231.1 kB / 1.285 GB, free: 7.117 MB / 0.9168 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3533, allocations: 0 / 1.285 GB, free: 7.117 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.002992/0.3563, allocations: 0.5222 MB / 1.286 GB, free: 6.594 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.01684/0.3731, allocations: 6.838 MB / 1.292 GB, free: 15.7 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.3749, allocations: 0.8326 MB / 1.293 GB, free: 14.86 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3749, allocations: 4.062 kB / 1.293 GB, free: 14.85 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.3758, allocations: 0.5445 MB / 1.294 GB, free: 14.3 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.3764, allocations: 158.6 kB / 1.294 GB, free: 14.14 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008371/0.3848, allocations: 5.012 MB / 1.299 GB, free: 9.016 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3852, allocations: 0.8681 MB / 1.3 GB, free: 8.125 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.000472/0.3856, allocations: 316.3 kB / 1.3 GB, free: 7.82 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.3858, allocations: 203.3 kB / 1.3 GB, free: 7.621 MB / 0.9324 GB Notification: Performance of SimCode: time 1.243e-06/0.3858, allocations: 0 / 1.3 GB, free: 7.621 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05524/0.4411, allocations: 31.35 MB / 1.331 GB, free: 8.445 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.402/9.843, allocations: 5.703 kB / 1.331 GB, free: 8.441 MB / 0.9637 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file AixLib_AixLib.Fluid.Storage.Examples.TwoPhaseSeparator_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 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.63703695870936] Failed to read output from testmodel.py, exit status != 0: 9.952422572299838 9.964602571 9.639227215 Calling exit ...