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.001195/0.001195, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001343/0.001343, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.747/1.747, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005242/0.0005242, allocations: 19.19 kB / 0.6737 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3252, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001166/0.3265, allocations: 324.8 kB / 0.7876 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003861/0.3304, allocations: 1.651 MB / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.3304, allocations: 0 / 0.7892 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.696e-05/0.3305, allocations: 4 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.228e-06/0.3305, allocations: 0 / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.332, allocations: 230.5 kB / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.3322, allocations: 95.88 kB / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.212e-05/0.3323, allocations: 0 / 0.7895 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.618e-05/0.3324, allocations: 39.97 kB / 0.7895 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3326, allocations: 63.86 kB / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.3326, allocations: 7.938 kB / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007013/0.3333, allocations: 239.8 kB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.3334, allocations: 43.89 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.538e-05/0.3335, allocations: 41.64 kB / 0.7899 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.3339, allocations: 171.7 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.334, allocations: 0 / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.134e-06/0.334, allocations: 4 kB / 0.7901 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.334, allocations: 4 kB / 0.7901 GB, free: 8.949 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.0009669/0.335, allocations: 419.4 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.3351, allocations: 8.031 kB / 0.7905 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.3352, allocations: 50.55 kB / 0.7905 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.3352, allocations: 11.81 kB / 0.7905 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3354, allocations: 178.9 kB / 0.7907 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3354, allocations: 12 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.3355, allocations: 12 kB / 0.7907 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005458/0.3361, allocations: 206.7 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3361, allocations: 3.938 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.3361, allocations: 8 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3362, allocations: 8 kB / 0.7909 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.3367, allocations: 175.8 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.3372, allocations: 278.1 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.3386, allocations: 415.8 kB / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.3391, allocations: 195.3 kB / 0.792 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.3392, allocations: 46.5 kB / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 3.376e-06/0.3392, allocations: 0 / 0.792 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.001237/0.3404, allocations: 377.6 kB / 0.7924 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.3406, allocations: 195.8 kB / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.975e-05/0.3406, allocations: 89.86 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.3407, allocations: 37.7 kB / 0.7927 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.3407, allocations: 80.7 kB / 0.7928 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.3409, allocations: 94.56 kB / 0.7928 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.066e-05/0.3409, allocations: 4 kB / 0.7928 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3411, allocations: 326.8 kB / 0.7932 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.3414, allocations: 83.94 kB / 0.7932 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.3417, allocations: 142.1 kB / 0.7934 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.3421, allocations: 117 kB / 0.7935 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3421, allocations: 0 / 0.7935 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007985/0.3429, allocations: 289.2 kB / 0.7938 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.343, allocations: 8 kB / 0.7938 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.343, allocations: 0 / 0.7938 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.343, allocations: 7.938 kB / 0.7938 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.3435, allocations: 59.89 kB / 0.7938 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.3435, allocations: 4 kB / 0.7938 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3437, allocations: 19.84 kB / 0.7939 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.3438, allocations: 8 kB / 0.7939 GB, free: 4.672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.344, allocations: 141.7 kB / 0.794 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.3441, allocations: 15.91 kB / 0.794 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.3451, allocations: 365.3 kB / 0.7944 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.3452, allocations: 4 kB / 0.7944 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.3452, allocations: 7.984 kB / 0.7944 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3452, allocations: 4 kB / 0.7944 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.3456, allocations: 249.4 kB / 0.7946 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3457, allocations: 3.953 kB / 0.7946 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.3461, allocations: 63.89 kB / 0.7947 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3461, allocations: 0 / 0.7947 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.3461, allocations: 12 kB / 0.7947 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3461, allocations: 0 / 0.7947 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.3462, allocations: 4 kB / 0.7947 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008285/0.347, allocations: 397.6 kB / 0.7951 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3471, allocations: 96.95 kB / 0.7952 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.558e-05/0.3471, allocations: 7.953 kB / 0.7952 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3473, allocations: 8 kB / 0.7952 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.3474, allocations: 23.97 kB / 0.7952 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.3474, allocations: 15.98 kB / 0.7952 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.3475, allocations: 75.28 kB / 0.7953 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3475, allocations: 0 / 0.7953 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007261/0.3482, allocations: 91.98 kB / 0.7954 GB, free: 2.969 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 (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.002124/0.3504, allocations: 1.401 MB / 0.7967 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008187/0.3512, allocations: 239.7 kB / 0.797 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.3513, allocations: 3.938 kB / 0.797 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.3516, allocations: 143.8 kB / 0.7971 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.3518, allocations: 8 kB / 0.7971 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3532, allocations: 458.9 kB / 0.7976 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3536, allocations: 0.7142 MB / 0.7983 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005225/0.3541, allocations: 109.4 kB / 0.7984 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3543, allocations: 39.42 kB / 0.7984 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.3543, allocations: 0 / 0.7984 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.3773, allocations: 3.753 MB / 0.8021 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003396/0.3777, allocations: 235.9 kB / 0.8023 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/2.91, allocations: 0 / 0.8023 GB, free: 11.88 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/linux/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) Environment - environmentSimulation: