Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IBPSA_latest_IBPSA_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.001483/0.001483, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001638/0.001638, allocations: 195.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 68.45 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07304/0.2308, allocations: 77.14 MB / 0.7069 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02541/0.2563, allocations: 18.89 MB / 0.7254 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004212/0.2605, allocations: 115.3 kB / 0.7255 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.2648, allocations: 1.246 MB / 0.7267 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.2751, allocations: 3.63 MB / 0.7302 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005444/0.2806, allocations: 2.094 MB / 0.7323 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008929/0.2895, allocations: 6.681 MB / 0.7388 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.2933, allocations: 2.093 MB / 0.7408 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00556/0.2989, allocations: 2.372 MB / 0.7432 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.3024, allocations: 1.764 MB / 0.7449 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007894/0.3032, allocations: 200 kB / 0.7451 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3698/0.6731, allocations: 1.615 MB / 0.7467 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009388/0.674, allocations: 0.5307 MB / 0.7472 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.6764, allocations: 1.253 MB / 0.7484 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007163/0.6836, allocations: 3.735 MB / 0.752 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6836, allocations: 0 / 0.752 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6836, allocations: 0 / 0.752 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.306e-05/0.6837, allocations: 1.719 kB / 0.752 GB, free: 12.68 MB / 0.5762 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.0063/0.69, allocations: 2.712 MB / 0.7547 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.6901, allocations: 10.16 kB / 0.7547 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002563/0.6903, allocations: 202.1 kB / 0.7549 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008067/0.6911, allocations: 268.5 kB / 0.7552 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/0.6945, allocations: 2.021 MB / 0.7571 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/0.6946, allocations: 106.6 kB / 0.7572 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.6948, allocations: 144.8 kB / 0.7574 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/0.6976, allocations: 1.52 MB / 0.7589 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.6976, allocations: 8.172 kB / 0.7589 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.6978, allocations: 56.88 kB / 0.7589 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.401e-05/0.6978, allocations: 40.62 kB / 0.759 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.7003, allocations: 1.126 MB / 0.7601 GB, free: 10.52 MB / 0.5762 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.008702/0.709, allocations: 7.594 MB / 0.7675 GB, free: 22.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.7099, allocations: 472.6 kB / 0.7679 GB, free: 22.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005821/0.7105, allocations: 342.6 kB / 0.7682 GB, free: 22.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008424/0.7113, allocations: 1.151 MB / 0.7694 GB, free: 20.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.7114, allocations: 42.66 kB / 0.7694 GB, free: 20.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.625e-06/0.7114, allocations: 0 / 0.7694 GB, free: 20.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002283/0.7137, allocations: 0.9607 MB / 0.7703 GB, free: 20.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.7137, allocations: 64.44 kB / 0.7704 GB, free: 20.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.7161, allocations: 1.784 MB / 0.7722 GB, free: 20.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.7162, allocations: 42.36 kB / 0.7722 GB, free: 20.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/0.717, allocations: 0.9321 MB / 0.7731 GB, free: 20.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/0.7173, allocations: 216.3 kB / 0.7733 GB, free: 19.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.7176, allocations: 225.5 kB / 0.7735 GB, free: 19.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7178, allocations: 347.7 kB / 0.7739 GB, free: 19.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/0.7184, allocations: 332.4 kB / 0.7742 GB, free: 19.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008718/0.7193, allocations: 0.695 MB / 0.7749 GB, free: 19.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.7207, allocations: 1.01 MB / 0.7758 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7207, allocations: 5.219 kB / 0.7758 GB, free: 18.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002203/0.7229, allocations: 1.21 MB / 0.777 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.7229, allocations: 10.19 kB / 0.777 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.7229, allocations: 17.67 kB / 0.7771 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.8e-05/0.723, allocations: 14.41 kB / 0.7771 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/0.7239, allocations: 288.3 kB / 0.7773 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/0.724, allocations: 26.47 kB / 0.7774 GB, free: 18.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.7254, allocations: 166.5 kB / 0.7775 GB, free: 18.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/0.7255, allocations: 50.52 kB / 0.7776 GB, free: 18.58 MB / 0.5919 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.0008549/0.7264, allocations: 445.5 kB / 0.778 GB, free: 18.46 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.7267, allocations: 194.8 kB / 0.7782 GB, free: 18.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.7282, allocations: 0.8652 MB / 0.779 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.7282, allocations: 8.375 kB / 0.779 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7282, allocations: 0 / 0.779 GB, free: 18.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001175/0.7294, allocations: 0.7971 MB / 0.7798 GB, free: 18.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.7332, allocations: 2.451 MB / 0.7822 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.7332, allocations: 2.969 kB / 0.7822 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/0.7339, allocations: 182.4 kB / 0.7824 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.7339, allocations: 5.594 kB / 0.7824 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.7339, allocations: 21.39 kB / 0.7824 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.734, allocations: 2.875 kB / 0.7824 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.734, allocations: 2.094 kB / 0.7824 GB, free: 17.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.7359, allocations: 1.335 MB / 0.7837 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006595/0.7366, allocations: 365.2 kB / 0.7841 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.7368, allocations: 23.52 kB / 0.7841 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008843/0.7377, allocations: 65.36 kB / 0.7842 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.7378, allocations: 49.58 kB / 0.7842 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.7379, allocations: 39.17 kB / 0.7842 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001446/0.7394, allocations: 1.236 MB / 0.7854 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7394, allocations: 3.938 kB / 0.7854 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001833/0.7412, allocations: 0.649 MB / 0.7861 GB, free: 16.77 MB / 0.5919 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.003473/0.7447, allocations: 2.395 MB / 0.7884 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.7462, allocations: 0.8143 MB / 0.7892 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7462, allocations: 0 / 0.7892 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.7468, allocations: 360.5 kB / 0.7896 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004591/0.7514, allocations: 1.204 MB / 0.7907 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/0.7677, allocations: 12.55 MB / 0.803 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.7686, allocations: 1.405 MB / 0.8044 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001539/0.7701, allocations: 379.6 kB / 0.8047 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007955/0.7709, allocations: 0.7673 MB / 0.8055 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/0.7709, allocations: 4 kB / 0.8055 GB, free: 11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0974/0.8683, allocations: 58.46 MB / 0.8626 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/12.06, allocations: 8 kB / 0.8626 GB, free: 4.988 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)