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.000849/0.000849, allocations: 109.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.0009981/0.0009981, allocations: 221.7 kB / 22.26 MB, free: 3.695 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.9432/0.9432, allocations: 230.6 MB / 256 MB, free: 9.82 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.03692/0.03692, allocations: 12.18 MB / 324.6 MB, free: 6.289 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.0004604/0.0004604, allocations: 35.95 kB / 384.1 MB, free: 10.7 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.739/1.739, allocations: 353.8 MB / 0.7787 GB, free: 3.125 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.001483/0.001483, allocations: 116.4 kB / 1.06 GB, free: 24.89 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2468, allocations: 134.9 MB / 1.192 GB, free: 7.883 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Storage.Examples.TwoPhaseSeparator): time 0.01908/0.2659, allocations: 24.06 MB / 1.215 GB, free: 15.74 MB / 0.8543 GB Notification: Performance of NFInst.instExpressions: time 0.02212/0.288, allocations: 29.15 MB / 1.244 GB, free: 2.488 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007567/0.2888, allocations: 15.88 kB / 1.244 GB, free: 2.473 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.0008475/0.2896, allocations: 294 kB / 1.244 GB, free: 2.184 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.005981/0.2956, allocations: 2.639 MB / 1.247 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.2969, allocations: 0.5551 MB / 1.247 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009518/0.2979, allocations: 0.9511 MB / 1.248 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.2983, allocations: 308.2 kB / 1.248 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006134/0.2989, allocations: 0.5057 MB / 1.249 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.2993, allocations: 378.6 kB / 1.249 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.2994, allocations: 55.94 kB / 1.249 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009747/0.3091, allocations: 7.617 MB / 1.257 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.3093, allocations: 139.4 kB / 1.257 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.3096, allocations: 278.7 kB / 1.257 GB, free: 4.738 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.3237, allocations: 8.029 MB / 1.265 GB, free: 12.7 MB / 0.9012 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3237, allocations: 0 / 1.265 GB, free: 12.7 MB / 0.9012 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3237, allocations: 0 / 1.265 GB, free: 12.7 MB / 0.9012 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.3237, 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.003976/0.3277, allocations: 1.161 MB / 1.266 GB, free: 11.5 MB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001036/0.3278, allocations: 15.97 kB / 1.266 GB, free: 11.49 MB / 0.9012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.698e-05/0.3279, allocations: 78.52 kB / 1.266 GB, free: 11.4 MB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008545/0.3287, allocations: 179.5 kB / 1.266 GB, free: 11.23 MB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.3293, allocations: 372.8 kB / 1.267 GB, free: 10.84 MB / 0.9012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.3293, allocations: 29 kB / 1.267 GB, free: 10.81 MB / 0.9012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.3294, allocations: 47.89 kB / 1.267 GB, free: 10.76 MB / 0.9012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3304, allocations: 0.6614 MB / 1.267 GB, free: 10.08 MB / 0.9012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3304, allocations: 0 / 1.267 GB, free: 10.08 MB / 0.9012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.3304, allocations: 20 kB / 1.267 GB, free: 10.06 MB / 0.9012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.3305, allocations: 16 kB / 1.267 GB, free: 10.04 MB / 0.9012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.3316, allocations: 0.7336 MB / 1.268 GB, free: 9.309 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.002332/0.334, allocations: 2.077 MB / 1.27 GB, free: 7.098 MB / 0.9012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.335, allocations: 0.5428 MB / 1.271 GB, free: 6.527 MB / 0.9012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.3355, allocations: 334.3 kB / 1.271 GB, free: 6.191 MB / 0.9012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009003/0.3364, allocations: 423.4 kB / 1.271 GB, free: 5.777 MB / 0.9012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.3364, allocations: 38.56 kB / 1.271 GB, free: 5.73 MB / 0.9012 GB Notification: Performance of pre-optimization done (n=39): time 4.187e-06/0.3364, allocations: 0 / 1.271 GB, free: 5.73 MB / 0.9012 GB Notification: Performance of matching and sorting (n=40): time 0.003737/0.3402, allocations: 2.01 MB / 1.273 GB, free: 3.68 MB / 0.9012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3402, allocations: 110.8 kB / 1.274 GB, free: 3.547 MB / 0.9012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.3405, allocations: 316.6 kB / 1.274 GB, free: 3.23 MB / 0.9012 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.3405, allocations: 33.7 kB / 1.274 GB, free: 3.191 MB / 0.9012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3406, allocations: 220.8 kB / 1.274 GB, free: 2.969 MB / 0.9012 GB Notification: Performance of collectInitialBindings (initialization): time 7.62e-05/0.3407, allocations: 146.7 kB / 1.274 GB, free: 2.824 MB / 0.9012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3408, allocations: 73.67 kB / 1.274 GB, free: 2.746 MB / 0.9012 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.3409, allocations: 346.8 kB / 1.275 GB, free: 2.398 MB / 0.9012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.3413, allocations: 267.8 kB / 1.275 GB, free: 2.137 MB / 0.9012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/0.3419, allocations: 315 kB / 1.275 GB, free: 1.816 MB / 0.9012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.3427, allocations: 0.5355 MB / 1.276 GB, free: 1.27 MB / 0.9012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3427, allocations: 0 / 1.276 GB, free: 1.27 MB / 0.9012 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001129/0.3438, allocations: 0.7025 MB / 1.276 GB, free: 0.5586 MB / 0.9012 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3438, allocations: 4 kB / 1.276 GB, free: 0.5547 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3439, allocations: 3.984 kB / 1.276 GB, free: 0.5508 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002042/0.3441, allocations: 72.81 kB / 1.276 GB, free: 488 kB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.3443, allocations: 123.8 kB / 1.277 GB, free: 364 kB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.3456, allocations: 1.691 MB / 1.278 GB, free: 14.55 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.3458, allocations: 63.89 kB / 1.278 GB, free: 14.49 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.3458, allocations: 19.98 kB / 1.278 GB, free: 14.47 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.0002402/0.3461, allocations: 163.3 kB / 1.278 GB, free: 14.3 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3462, allocations: 39.77 kB / 1.279 GB, free: 14.26 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.3482, allocations: 1.905 MB / 1.28 GB, free: 12.34 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.3482, allocations: 15.98 kB / 1.28 GB, free: 12.33 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3482, allocations: 7.938 kB / 1.28 GB, free: 12.32 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3482, allocations: 3.984 kB / 1.28 GB, free: 12.32 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/0.3492, allocations: 1.053 MB / 1.281 GB, free: 11.21 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3492, allocations: 0 / 1.281 GB, free: 11.21 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.3494, allocations: 127.9 kB / 1.282 GB, free: 11.08 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/0.3497, allocations: 96.72 kB / 1.282 GB, free: 10.98 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3497, allocations: 11.98 kB / 1.282 GB, free: 10.97 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.3509, allocations: 1.711 MB / 1.283 GB, free: 9.148 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3509, allocations: 0 / 1.283 GB, free: 9.148 MB / 0.9168 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001835/0.3527, allocations: 1.538 MB / 1.285 GB, free: 7.59 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3529, allocations: 111.5 kB / 1.285 GB, free: 7.48 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.3529, allocations: 8 kB / 1.285 GB, free: 7.473 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.3532, allocations: 67.98 kB / 1.285 GB, free: 7.406 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.3533, allocations: 40.42 kB / 1.285 GB, free: 7.367 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.3533, allocations: 19.98 kB / 1.285 GB, free: 7.348 MB / 0.9168 GB Notification: Performance of sorting global known variables: time 0.0001616/0.3535, allocations: 231 kB / 1.285 GB, free: 7.125 MB / 0.9168 GB Notification: Performance of sort global known variables: time 7e-08/0.3535, allocations: 0 / 1.285 GB, free: 7.125 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.002369/0.3558, allocations: 0.5182 MB / 1.286 GB, free: 6.605 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.01487/0.3707, allocations: 6.848 MB / 1.292 GB, free: 15.7 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.00163/0.3723, allocations: 0.8326 MB / 1.293 GB, free: 14.86 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.3723, allocations: 0 / 1.293 GB, free: 14.86 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0006737/0.373, allocations: 0.5562 MB / 1.294 GB, free: 14.29 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.3737, allocations: 146.3 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.007848/0.3815, allocations: 5.002 MB / 1.299 GB, free: 9.031 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.3818, allocations: 0.8719 MB / 1.3 GB, free: 8.137 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.0004583/0.3823, allocations: 314.6 kB / 1.3 GB, free: 7.832 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.3825, allocations: 203.3 kB / 1.3 GB, free: 7.633 MB / 0.9324 GB Notification: Performance of SimCode: time 1.282e-06/0.3825, allocations: 0 / 1.3 GB, free: 7.633 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/0.4299, allocations: 31.35 MB / 1.331 GB, free: 8.457 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.837, allocations: 3.938 kB / 1.331 GB, free: 8.453 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.662316245026886] Failed to read output from testmodel.py, exit status != 0: 8.942049116827548 8.950956526 8.62540064 Calling exit ...