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.0008193/0.0008193, 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.0008518/0.0008518, allocations: 211.6 kB / 22.25 MB, free: 3.574 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.978/0.978, allocations: 230.6 MB / 256 MB, free: 9.57 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.03754/0.03754, allocations: 12.19 MB / 324.6 MB, free: 6.086 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.0005719/0.0005719, allocations: 31.95 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.737/1.737, allocations: 353.9 MB / 0.7787 GB, free: 4.531 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.001506/0.001506, allocations: 120.5 kB / 1.06 GB, free: 24.93 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2499, allocations: 134.9 MB / 1.192 GB, free: 7.504 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator): time 0.02112/0.271, allocations: 21.96 MB / 1.213 GB, free: 1.465 MB / 0.8387 GB Notification: Performance of NFInst.instExpressions: time 0.021/0.292, allocations: 25.75 MB / 1.238 GB, free: 7.633 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007192/0.2927, allocations: 19.81 kB / 1.238 GB, free: 7.613 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.0009472/0.2937, allocations: 262.2 kB / 1.239 GB, free: 7.355 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.006559/0.3002, allocations: 2.597 MB / 1.241 GB, free: 4.746 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3014, allocations: 0.5339 MB / 1.242 GB, free: 4.215 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.3025, allocations: 0.9472 MB / 1.243 GB, free: 3.262 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.3029, allocations: 304.2 kB / 1.243 GB, free: 2.957 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007444/0.3036, allocations: 493.9 kB / 1.243 GB, free: 2.473 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.304, allocations: 358.5 kB / 1.244 GB, free: 2.121 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.304, allocations: 51.94 kB / 1.244 GB, free: 2.07 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009102/0.3131, allocations: 7.375 MB / 1.251 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.3133, allocations: 139.5 kB / 1.251 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.3136, allocations: 227 kB / 1.251 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.3265, allocations: 8.025 MB / 1.259 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.3265, allocations: 7.984 kB / 1.259 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3265, allocations: 0 / 1.259 GB, free: 2.277 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.3265, allocations: 4 kB / 1.259 GB, free: 2.273 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.004126/0.3306, allocations: 1.149 MB / 1.26 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3307, allocations: 8.031 kB / 1.26 GB, free: 1.082 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.608e-05/0.3307, allocations: 82.52 kB / 1.26 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000895/0.3316, allocations: 187.5 kB / 1.26 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.3324, allocations: 372.8 kB / 1.261 GB, free: 428 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.3324, allocations: 29 kB / 1.261 GB, free: 400 kB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.591e-05/0.3324, allocations: 43.95 kB / 1.261 GB, free: 356 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.3335, allocations: 0.6942 MB / 1.262 GB, free: 15.62 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3335, allocations: 0 / 1.262 GB, free: 15.62 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.3336, allocations: 20 kB / 1.262 GB, free: 15.61 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.3336, allocations: 15.94 kB / 1.262 GB, free: 15.59 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.3347, allocations: 0.7415 MB / 1.262 GB, free: 14.85 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.001939/0.3367, allocations: 1.665 MB / 1.264 GB, free: 13.12 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.3377, allocations: 0.5428 MB / 1.264 GB, free: 12.55 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.3382, allocations: 326.4 kB / 1.265 GB, free: 12.22 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009071/0.3391, allocations: 427.5 kB / 1.265 GB, free: 11.8 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3391, allocations: 42.5 kB / 1.265 GB, free: 11.75 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=39): time 2.214e-06/0.3391, allocations: 0 / 1.265 GB, free: 11.75 MB / 0.9012 GB Notification: Performance of matching and sorting (n=40): time 0.004116/0.3433, allocations: 2.006 MB / 1.267 GB, free: 9.703 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3433, allocations: 110.8 kB / 1.267 GB, free: 9.57 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005565/0.3439, allocations: 312.6 kB / 1.268 GB, free: 9.258 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.3439, allocations: 33.7 kB / 1.268 GB, free: 9.219 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.344, allocations: 220.8 kB / 1.268 GB, free: 8.996 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 8.686e-05/0.3441, allocations: 142.8 kB / 1.268 GB, free: 8.855 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3442, allocations: 81.66 kB / 1.268 GB, free: 8.77 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3443, allocations: 346.8 kB / 1.268 GB, free: 8.422 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.3447, allocations: 263.8 kB / 1.269 GB, free: 8.164 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.3452, allocations: 370.4 kB / 1.269 GB, free: 7.777 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.346, allocations: 0.5316 MB / 1.27 GB, free: 7.234 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.346, allocations: 0 / 1.27 GB, free: 7.234 MB / 0.9012 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001201/0.3472, allocations: 0.7025 MB / 1.27 GB, free: 6.523 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3472, allocations: 9.719 kB / 1.27 GB, free: 6.516 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3473, allocations: 0 / 1.27 GB, free: 6.516 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.3475, allocations: 76.84 kB / 1.27 GB, free: 6.438 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.3478, allocations: 115.8 kB / 1.27 GB, free: 6.324 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.3491, allocations: 1.691 MB / 1.272 GB, free: 4.52 MB / 0.9012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.3494, allocations: 59.91 kB / 1.272 GB, free: 4.461 MB / 0.9012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3495, allocations: 15.98 kB / 1.272 GB, free: 4.445 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.0002283/0.3497, allocations: 161.8 kB / 1.272 GB, free: 4.277 MB / 0.9012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.3498, allocations: 43.83 kB / 1.272 GB, free: 4.234 MB / 0.9012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00216/0.352, allocations: 1.901 MB / 1.274 GB, free: 2.316 MB / 0.9012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.352, allocations: 23.91 kB / 1.274 GB, free: 2.293 MB / 0.9012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.352, allocations: 0 / 1.274 GB, free: 2.293 MB / 0.9012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.352, allocations: 0 / 1.274 GB, free: 2.293 MB / 0.9012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3532, allocations: 0.9911 MB / 1.275 GB, free: 1.246 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3532, allocations: 0 / 1.275 GB, free: 1.246 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.3535, allocations: 123.8 kB / 1.275 GB, free: 1.125 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.3537, allocations: 100.7 kB / 1.275 GB, free: 1.023 MB / 0.9012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3537, allocations: 19.98 kB / 1.275 GB, free: 1.004 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.3549, allocations: 1.68 MB / 1.277 GB, free: 15.21 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3549, allocations: 11.95 kB / 1.277 GB, free: 15.2 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3569, allocations: 1.53 MB / 1.279 GB, free: 13.65 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.357, allocations: 115.5 kB / 1.279 GB, free: 13.54 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3571, allocations: 8 kB / 1.279 GB, free: 13.53 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.3573, allocations: 59.88 kB / 1.279 GB, free: 13.47 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.3574, allocations: 44.34 kB / 1.279 GB, free: 13.43 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.3574, allocations: 20.05 kB / 1.279 GB, free: 13.41 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.0001889/0.3576, allocations: 227.1 kB / 1.279 GB, free: 13.19 MB / 0.9168 GB Notification: Performance of sort global known variables: time 6e-08/0.3576, allocations: 0 / 1.279 GB, free: 13.19 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.002902/0.3605, allocations: 0.5299 MB / 1.28 GB, free: 12.66 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.01639/0.3769, allocations: 6.849 MB / 1.286 GB, free: 5.754 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.3787, allocations: 0.8288 MB / 1.287 GB, free: 4.914 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3787, allocations: 0 / 1.287 GB, free: 4.914 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.3795, allocations: 0.5484 MB / 1.288 GB, free: 4.355 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000667/0.3801, allocations: 147.9 kB / 1.288 GB, free: 4.207 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008465/0.3886, allocations: 5.01 MB / 1.293 GB, free: 15.09 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3888, allocations: 272.2 kB / 1.293 GB, free: 14.8 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.000461/0.3893, allocations: 324.1 kB / 1.293 GB, free: 14.48 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.3895, allocations: 207.3 kB / 1.293 GB, free: 14.28 MB / 0.9324 GB Notification: Performance of SimCode: time 1.112e-06/0.3895, allocations: 0 / 1.293 GB, free: 14.28 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05541/0.4449, allocations: 31.81 MB / 1.324 GB, free: 14.71 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.298, allocations: 17.06 kB / 1.324 GB, free: 14.7 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 & 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: 16.943993236869574] Failed to read output from testmodel.py, exit status != 0: 9.409643025137484 9.417239705 9.088805268 Calling exit ...