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.001326/0.001326, allocations: 102.4 kB / 16.4 MB, free: 6.453 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.001381/0.001381, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 115.3 MB / 406.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 71.8 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1525, allocations: 76.18 MB / 0.6316 GB, free: 4.891 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0747/0.2272, allocations: 77.14 MB / 0.7069 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02948/0.2568, allocations: 18.88 MB / 0.7254 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003548/0.2604, allocations: 111.4 kB / 0.7255 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003697/0.2641, allocations: 1.25 MB / 0.7267 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009681/0.2738, allocations: 3.625 MB / 0.7302 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005286/0.2791, allocations: 2.108 MB / 0.7323 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009284/0.2884, allocations: 6.665 MB / 0.7388 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003785/0.2922, allocations: 2.089 MB / 0.7408 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006526/0.2988, allocations: 2.379 MB / 0.7432 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.3019, allocations: 1.76 MB / 0.7449 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004973/0.3025, allocations: 200 kB / 0.7451 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3655/0.6679, allocations: 1.615 MB / 0.7467 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009282/0.6689, allocations: 0.534 MB / 0.7472 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002284/0.6712, allocations: 1.249 MB / 0.7484 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007325/0.6785, allocations: 3.735 MB / 0.752 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6786, allocations: 3.219 kB / 0.752 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6786, allocations: 1.031 kB / 0.752 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.911e-05/0.6787, allocations: 0 / 0.752 GB, free: 12.63 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.006479/0.6852, allocations: 2.709 MB / 0.7547 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.6852, allocations: 7.562 kB / 0.7547 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002648/0.6855, allocations: 203.6 kB / 0.7549 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.6864, allocations: 267.1 kB / 0.7551 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004282/0.6907, allocations: 2.02 MB / 0.7571 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.6908, allocations: 108.2 kB / 0.7572 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.6911, allocations: 150 kB / 0.7574 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.6941, allocations: 1.516 MB / 0.7588 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.6942, allocations: 2.75 kB / 0.7588 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.6944, allocations: 58.83 kB / 0.7589 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.991e-05/0.6945, allocations: 44.55 kB / 0.7589 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.697, allocations: 1.121 MB / 0.76 GB, free: 10.47 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.00902/0.706, allocations: 7.599 MB / 0.7675 GB, free: 22.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.707, allocations: 472.9 kB / 0.7679 GB, free: 22.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/0.7076, allocations: 342.5 kB / 0.7682 GB, free: 22.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000803/0.7084, allocations: 1.147 MB / 0.7694 GB, free: 20.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.7084, allocations: 42.53 kB / 0.7694 GB, free: 20.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.315e-06/0.7085, allocations: 1.219 kB / 0.7694 GB, free: 20.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002499/0.711, allocations: 0.9649 MB / 0.7703 GB, free: 20.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.711, allocations: 61.84 kB / 0.7704 GB, free: 20.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.7132, allocations: 1.787 MB / 0.7721 GB, free: 20.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.7133, allocations: 42.08 kB / 0.7722 GB, free: 20.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/0.714, allocations: 0.9265 MB / 0.7731 GB, free: 20.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.7142, allocations: 222.5 kB / 0.7733 GB, free: 19.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.7145, allocations: 228.2 kB / 0.7735 GB, free: 19.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7146, allocations: 341 kB / 0.7738 GB, free: 19.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006772/0.7153, allocations: 335.4 kB / 0.7742 GB, free: 19.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008251/0.7162, allocations: 0.6914 MB / 0.7748 GB, free: 19.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.7176, allocations: 1.013 MB / 0.7758 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.7176, allocations: 2.906 kB / 0.7758 GB, free: 18.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002274/0.7199, allocations: 1.215 MB / 0.777 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.7199, allocations: 11.16 kB / 0.777 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.72, allocations: 13.44 kB / 0.777 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.72, allocations: 17.91 kB / 0.7771 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.721, allocations: 291.5 kB / 0.7773 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.721, allocations: 19.16 kB / 0.7774 GB, free: 18.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.7225, allocations: 168.3 kB / 0.7775 GB, free: 18.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.7226, allocations: 55.39 kB / 0.7776 GB, free: 18.53 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.0008138/0.7234, allocations: 435.1 kB / 0.778 GB, free: 18.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003291/0.7238, allocations: 194.8 kB / 0.7782 GB, free: 18.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.7254, allocations: 0.8668 MB / 0.779 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.7255, allocations: 12.97 kB / 0.779 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7255, allocations: 0 / 0.779 GB, free: 18.22 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/0.7267, allocations: 0.7994 MB / 0.7798 GB, free: 17.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.7311, allocations: 2.446 MB / 0.7822 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.7311, allocations: 3.562 kB / 0.7822 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/0.7319, allocations: 179.2 kB / 0.7824 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.7319, allocations: 9.438 kB / 0.7824 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.591e-05/0.7319, allocations: 19.78 kB / 0.7824 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.7319, allocations: 8.078 kB / 0.7824 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.732, allocations: 8.219 kB / 0.7824 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.7342, allocations: 1.327 MB / 0.7837 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/0.7351, allocations: 367.3 kB / 0.7841 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/0.7354, allocations: 20.97 kB / 0.7841 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.7365, allocations: 67.47 kB / 0.7841 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.7367, allocations: 45.11 kB / 0.7842 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-05/0.7368, allocations: 37.86 kB / 0.7842 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001931/0.7387, allocations: 1.241 MB / 0.7854 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7387, allocations: 3.938 kB / 0.7854 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002538/0.7413, allocations: 0.6511 MB / 0.7861 GB, free: 16.71 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.003999/0.7453, allocations: 2.397 MB / 0.7884 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.747, allocations: 0.8111 MB / 0.7892 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.747, allocations: 2.938 kB / 0.7892 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006618/0.7477, allocations: 356.6 kB / 0.7896 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006318/0.754, allocations: 1.2 MB / 0.7907 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/0.7766, allocations: 12.56 MB / 0.803 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.7778, allocations: 1.404 MB / 0.8044 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001923/0.7798, allocations: 381.8 kB / 0.8047 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.7812, allocations: 0.7637 MB / 0.8055 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/0.7812, allocations: 4 kB / 0.8055 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.098/1.88, allocations: 58.46 MB / 0.8626 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/16.12, allocations: 15.98 kB / 0.8626 GB, free: 4.945 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)