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.001384/0.001384, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001868, allocations: 176.2 kB / 16.57 MB, free: 6.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.517/2.517, allocations: 223.2 MB / 240.5 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.227/1.227, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004317, allocations: 13.38 kB / 493 MB, free: 8.637 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2864, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.7448/1.031, allocations: 64.4 MB / 0.6196 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04856/1.08, allocations: 16.24 MB / 0.6355 GB, free: 3.852 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01129/1.091, allocations: 92.81 kB / 0.6356 GB, free: 3.809 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009953/1.101, allocations: 1.175 MB / 0.6367 GB, free: 2.848 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03163/1.133, allocations: 3.545 MB / 0.6402 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01791/1.151, allocations: 2.299 MB / 0.6424 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02019/1.171, allocations: 3.868 MB / 0.6462 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005713/1.177, allocations: 1.466 MB / 0.6476 GB, free: 10.93 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008516/1.186, allocations: 1.649 MB / 0.6492 GB, free: 9.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004907/1.191, allocations: 1.075 MB / 0.6503 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007699/1.192, allocations: 74.22 kB / 0.6504 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009135/1.201, allocations: 1.015 MB / 0.6513 GB, free: 8.93 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001902/1.203, allocations: 377.9 kB / 0.6517 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003379/1.206, allocations: 499.2 kB / 0.6522 GB, free: 8.391 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009358/1.216, allocations: 2.642 MB / 0.6548 GB, free: 5.797 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.216, allocations: 0 / 0.6548 GB, free: 5.797 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.328e-06/1.216, allocations: 0 / 0.6548 GB, free: 5.797 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001546/1.216, allocations: 0 / 0.6548 GB, free: 5.797 MB / 478.1 MB 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.01056/1.226, allocations: 2.324 MB / 0.657 GB, free: 3.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.401e-05/1.226, allocations: 8.031 kB / 0.657 GB, free: 3.402 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/1.227, allocations: 198.6 kB / 0.6572 GB, free: 3.199 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/1.229, allocations: 265.1 kB / 0.6575 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007069/1.237, allocations: 1.779 MB / 0.6592 GB, free: 1.109 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/1.237, allocations: 114.6 kB / 0.6593 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003827/1.237, allocations: 143.9 kB / 0.6595 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/1.243, allocations: 1.518 MB / 0.6609 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.688e-05/1.243, allocations: 7.875 kB / 0.661 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/1.243, allocations: 60 kB / 0.661 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.243, allocations: 44 kB / 0.6611 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004448/1.248, allocations: 1.161 MB / 0.6622 GB, free: 13.98 MB / 494.1 MB 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.0165/1.264, allocations: 7.642 MB / 0.6697 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/1.265, allocations: 497.2 kB / 0.6701 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/1.267, allocations: 1.148 MB / 0.6712 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.778e-05/1.267, allocations: 43.16 kB / 0.6713 GB, free: 3.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=59): time 4.208e-06/1.267, allocations: 0 / 0.6713 GB, free: 3.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=59): time 0.003267/1.27, allocations: 1.024 MB / 0.6723 GB, free: 2.781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.27, allocations: 59.92 kB / 0.6723 GB, free: 2.711 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003047/1.273, allocations: 1.822 MB / 0.6741 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002591/1.273, allocations: 45.7 kB / 0.6742 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.275, allocations: 0.9357 MB / 0.6751 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/1.275, allocations: 217 kB / 0.6753 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/1.275, allocations: 24 kB / 0.6753 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002096/1.275, allocations: 341.9 kB / 0.6756 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/1.277, allocations: 354.3 kB / 0.676 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.278, allocations: 0.7016 MB / 0.6767 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/1.281, allocations: 462.8 kB / 0.6771 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/1.281, allocations: 4 kB / 0.6771 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004394/1.285, allocations: 1.252 MB / 0.6783 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.839e-05/1.286, allocations: 8.875 kB / 0.6783 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/1.286, allocations: 12 kB / 0.6783 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-05/1.286, allocations: 20 kB / 0.6784 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/1.288, allocations: 319.5 kB / 0.6787 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.133e-05/1.288, allocations: 20.72 kB / 0.6787 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/1.291, allocations: 258.1 kB / 0.6789 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/1.291, allocations: 55.92 kB / 0.679 GB, free: 11.68 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001577/1.293, allocations: 437.4 kB / 0.6794 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009629/1.294, allocations: 193.7 kB / 0.6796 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/1.297, allocations: 0.906 MB / 0.6805 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/1.297, allocations: 4 kB / 0.6805 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.297, allocations: 0 / 0.6805 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002243/1.299, allocations: 0.8386 MB / 0.6813 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008543/1.308, allocations: 2.517 MB / 0.6838 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.308, allocations: 4 kB / 0.6838 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/1.309, allocations: 215.9 kB / 0.684 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/1.309, allocations: 4 kB / 0.684 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.378e-05/1.309, allocations: 19.98 kB / 0.684 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.495e-05/1.31, allocations: 4 kB / 0.684 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.984e-06/1.31, allocations: 3.938 kB / 0.684 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005529/1.315, allocations: 1.548 MB / 0.6855 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.317, allocations: 426.2 kB / 0.6859 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007013/1.318, allocations: 16 kB / 0.6859 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/1.321, allocations: 123.7 kB / 0.6861 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/1.321, allocations: 52.45 kB / 0.6861 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.321, allocations: 39.97 kB / 0.6861 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004449/1.326, allocations: 1.271 MB / 0.6874 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.232e-06/1.326, allocations: 0 / 0.6874 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004918/1.331, allocations: 0.659 MB / 0.688 GB, free: 2.145 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009029/1.34, allocations: 3.09 MB / 0.691 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003817/1.344, allocations: 0.8439 MB / 0.6919 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.344, allocations: 8.062 kB / 0.6919 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/1.345, allocations: 371.4 kB / 0.6922 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01299/1.358, allocations: 1.191 MB / 0.6934 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02144/1.38, allocations: 11.54 MB / 0.7047 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/1.382, allocations: 1.444 MB / 0.7061 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003545/1.385, allocations: 392.2 kB / 0.7064 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/1.388, allocations: 0.7609 MB / 0.7072 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of SimCode: time 2.365e-06/1.388, allocations: 3.938 kB / 0.7072 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1851/1.573, allocations: 56.62 MB / 0.7625 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002573/1.573, allocations: 229.8 kB / 0.7627 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.957/7.531, allocations: 3.578 kB / 0.7627 GB, free: 5.934 MB / 0.5762 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/linux/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) Environment - environmentSimulation: