Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.001426/0.001426, allocations: 109.4 kB / 15.69 MB, free: 128 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.001809/0.001809, allocations: 188 kB / 16.62 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.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.694/1.694, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001692/0.001692, allocations: 65.17 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2668, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.002177/0.269, allocations: 0.6035 MB / 0.7842 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002669/0.2717, allocations: 1.742 MB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.2717, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.2718, allocations: 3.984 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.505e-06/0.2718, allocations: 4 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2729, allocations: 303.3 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.2731, allocations: 127.8 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.125e-05/0.2731, allocations: 0 / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.2732, allocations: 47.95 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.2733, allocations: 55.92 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.2734, allocations: 4 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005875/0.274, allocations: 338.4 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.274, allocations: 43.89 kB / 0.7868 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.663e-05/0.2741, allocations: 47.72 kB / 0.7869 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.2745, allocations: 267.5 kB / 0.7871 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2746, allocations: 0 / 0.7871 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.176e-06/0.2746, allocations: 4 kB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2746, allocations: 7.938 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007084/0.2753, allocations: 439.3 kB / 0.7875 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.2754, allocations: 15.97 kB / 0.7876 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.985e-05/0.2754, allocations: 42.73 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.2755, allocations: 12.75 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2757, allocations: 180 kB / 0.7878 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.2757, allocations: 12 kB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.2757, allocations: 8 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.2761, allocations: 218.7 kB / 0.788 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.2761, allocations: 7.922 kB / 0.788 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.2762, allocations: 8 kB / 0.788 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2762, allocations: 8 kB / 0.788 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.2764, allocations: 175.8 kB / 0.7882 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.2768, allocations: 278 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007171/0.2775, allocations: 407.8 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.2777, allocations: 189.2 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003691/0.2781, allocations: 191.2 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.2781, allocations: 42.5 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.442e-06/0.2782, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006704/0.2788, allocations: 385.2 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.2789, allocations: 191.9 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.847e-05/0.279, allocations: 89.86 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.279, allocations: 29.7 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.2791, allocations: 88.69 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.2792, allocations: 98.5 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.2793, allocations: 53.69 kB / 0.7901 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.2794, allocations: 322.8 kB / 0.7905 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.2795, allocations: 87.94 kB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2797, allocations: 146.5 kB / 0.7907 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.2801, allocations: 256.9 kB / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2801, allocations: 4 kB / 0.7909 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000433/0.2805, allocations: 289.5 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2805, allocations: 15.94 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2805, allocations: 0 / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2806, allocations: 4 kB / 0.7912 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.2808, allocations: 55.89 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2808, allocations: 4 kB / 0.7913 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.372e-05/0.2809, allocations: 19.75 kB / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.2809, allocations: 12 kB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001202/0.2811, allocations: 142.3 kB / 0.7914 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.2811, allocations: 15.91 kB / 0.7915 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/0.2817, allocations: 356.8 kB / 0.7918 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.2817, allocations: 4 kB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.2817, allocations: 4.547 kB / 0.7918 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2817, allocations: 7.938 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.282, allocations: 257.3 kB / 0.7921 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.282, allocations: 4 kB / 0.7921 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.2822, allocations: 55.89 kB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.2822, allocations: 7.984 kB / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.2823, allocations: 12 kB / 0.7921 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.2823, allocations: 4 kB / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2823, allocations: 0 / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.2827, allocations: 349.4 kB / 0.7925 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.2828, allocations: 96.95 kB / 0.7926 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.2828, allocations: 4 kB / 0.7926 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.385e-05/0.2829, allocations: 8 kB / 0.7926 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.283, allocations: 19.97 kB / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.283, allocations: 15.98 kB / 0.7926 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.283, allocations: 79.33 kB / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2831, allocations: 0 / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004132/0.2835, allocations: 91.92 kB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (30): * Single equations (assignments): 30 * 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 Backend phase and start with SimCode phase: time 0.001158/0.2846, allocations: 0.9954 MB / 0.7938 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004488/0.2851, allocations: 251.7 kB / 0.794 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2851, allocations: 0 / 0.794 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.2853, allocations: 139.8 kB / 0.7941 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.2855, allocations: 18.5 kB / 0.7941 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009831/0.2865, allocations: 439.9 kB / 0.7946 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.2868, allocations: 0.7085 MB / 0.7953 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002219/0.2871, allocations: 113.4 kB / 0.7954 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.2872, allocations: 35.42 kB / 0.7954 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2872, allocations: 4 kB / 0.7954 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.3085, allocations: 4.06 MB / 0.7994 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/7.393, allocations: 14.41 kB / 0.7994 GB, free: 12.55 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)