Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009085/0.009085, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005241, allocations: 13.94 kB / 0.6744 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2047, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06728/0.272, allocations: 75.28 MB / 0.8615 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02476/0.2969, allocations: 18.6 MB / 0.8797 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003821/0.3007, allocations: 91.38 kB / 0.8798 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.304, allocations: 1.026 MB / 0.8808 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.009504/0.3135, allocations: 3.352 MB / 0.884 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.3187, allocations: 1.923 MB / 0.8859 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009716/0.3284, allocations: 8.87 MB / 0.8946 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.3309, allocations: 1.674 MB / 0.8962 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.3342, allocations: 1.89 MB / 0.8981 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.3365, allocations: 1.711 MB / 0.8997 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.3368, allocations: 72 kB / 0.8998 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.3402, allocations: 1.438 MB / 0.9012 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.3407, allocations: 422 kB / 0.9016 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.342, allocations: 1.121 MB / 0.9027 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.3464, allocations: 3.559 MB / 0.9062 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3465, allocations: 0 / 0.9062 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.097e-06/0.3465, allocations: 0 / 0.9062 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.084e-05/0.3465, allocations: 3.938 kB / 0.9062 GB, free: 2.016 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.3366/0.6832, allocations: 2.277 MB / 0.9084 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6832, allocations: 10.38 kB / 0.9084 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005398/0.6838, allocations: 204.8 kB / 0.9086 GB, free: 119.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000838/0.6846, allocations: 270.2 kB / 0.9089 GB, free: 119 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/0.6882, allocations: 1.943 MB / 0.9108 GB, free: 118.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.6883, allocations: 110.7 kB / 0.9109 GB, free: 118.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.6886, allocations: 146.9 kB / 0.911 GB, free: 118.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002946/0.6915, allocations: 1.54 MB / 0.9125 GB, free: 118.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.256e-05/0.6916, allocations: 9.844 kB / 0.9125 GB, free: 118.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.6918, allocations: 61.09 kB / 0.9126 GB, free: 118.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-05/0.6918, allocations: 41.27 kB / 0.9126 GB, free: 118.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002356/0.6942, allocations: 1.166 MB / 0.9138 GB, free: 118.1 MB / 0.7169 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.006947/0.7011, allocations: 7.585 MB / 0.9212 GB, free: 112.4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009041/0.7021, allocations: 498.8 kB / 0.9216 GB, free: 112.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/0.7027, allocations: 350.2 kB / 0.922 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/0.7033, allocations: 1.156 MB / 0.9231 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.7033, allocations: 40.11 kB / 0.9231 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.124e-06/0.7033, allocations: 0 / 0.9231 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002083/0.7054, allocations: 1.027 MB / 0.9242 GB, free: 110.4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.7054, allocations: 60.88 kB / 0.9242 GB, free: 110.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.7074, allocations: 1.743 MB / 0.9259 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.7074, allocations: 45.64 kB / 0.926 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005544/0.708, allocations: 0.9192 MB / 0.9269 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.7082, allocations: 221.1 kB / 0.9271 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.7083, allocations: 98.36 kB / 0.9272 GB, free: 108.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/0.7083, allocations: 345.4 kB / 0.9275 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007101/0.7091, allocations: 349.3 kB / 0.9278 GB, free: 108.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.7099, allocations: 0.7166 MB / 0.9285 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.7117, allocations: 1.052 MB / 0.9295 GB, free: 107 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.7117, allocations: 3.562 kB / 0.9296 GB, free: 107 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002343/0.7141, allocations: 1.261 MB / 0.9308 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.7141, allocations: 9.797 kB / 0.9308 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.7141, allocations: 12.34 kB / 0.9308 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.7141, allocations: 16.16 kB / 0.9308 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.7153, allocations: 321.8 kB / 0.9311 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/0.7153, allocations: 21.83 kB / 0.9311 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.7168, allocations: 252 kB / 0.9314 GB, free: 106.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/0.7169, allocations: 51.69 kB / 0.9314 GB, free: 106.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006144/0.7175, allocations: 436.8 kB / 0.9319 GB, free: 106.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.7178, allocations: 194.1 kB / 0.932 GB, free: 106 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.7197, allocations: 0.899 MB / 0.9329 GB, free: 105.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.7198, allocations: 11.52 kB / 0.9329 GB, free: 105.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.7198, allocations: 7.141 kB / 0.9329 GB, free: 105.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001588/0.7214, allocations: 0.8398 MB / 0.9338 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004096/0.7255, allocations: 2.48 MB / 0.9362 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.7255, allocations: 3.906 kB / 0.9362 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008129/0.7263, allocations: 214.7 kB / 0.9364 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.7264, allocations: 4.25 kB / 0.9364 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.7264, allocations: 23.17 kB / 0.9364 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.7264, allocations: 4.312 kB / 0.9364 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7264, allocations: 5.875 kB / 0.9364 GB, free: 104.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.7288, allocations: 1.399 MB / 0.9378 GB, free: 103.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/0.7295, allocations: 398.8 kB / 0.9382 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.7297, allocations: 12.34 kB / 0.9382 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.7309, allocations: 127.6 kB / 0.9383 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.731, allocations: 61.08 kB / 0.9384 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.7311, allocations: 39.84 kB / 0.9384 GB, free: 103.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001541/0.7326, allocations: 1.202 MB / 0.9396 GB, free: 102.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7326, allocations: 0 / 0.9396 GB, free: 102.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001733/0.7344, allocations: 0.6309 MB / 0.9402 GB, free: 102.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00331/0.7377, allocations: 2.436 MB / 0.9426 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.7394, allocations: 0.8641 MB / 0.9434 GB, free: 100.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7394, allocations: 1.031 kB / 0.9434 GB, free: 100.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007079/0.7402, allocations: 376.1 kB / 0.9438 GB, free: 100.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006587/0.7468, allocations: 1.218 MB / 0.945 GB, free: 99.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/0.7704, allocations: 14.81 MB / 0.9594 GB, free: 89.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.7711, allocations: 1.404 MB / 0.9608 GB, free: 87.96 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001507/0.7726, allocations: 376.5 kB / 0.9612 GB, free: 87.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007261/0.7733, allocations: 0.7531 MB / 0.9619 GB, free: 86.85 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.7733, allocations: 0 / 0.9619 GB, free: 86.85 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09668/0.87, allocations: 55.61 MB / 1.016 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.8702, allocations: 250.6 kB / 1.016 GB, free: 31.69 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.237/4.107, allocations: 0 / 1.016 GB, free: 31.69 MB / 0.7169 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)