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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 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.001491/0.001491, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.821/1.821, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001453/0.001453, allocations: 65.97 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2395, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00183/0.2413, allocations: 0.6039 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002506/0.2438, allocations: 1.738 MB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.2439, allocations: 4 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.244, allocations: 7.938 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.294e-06/0.244, allocations: 0 / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.245, allocations: 302.1 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.2451, allocations: 123.8 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.2452, allocations: 0 / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.2453, allocations: 47.95 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.2454, allocations: 51.94 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.2454, allocations: 7.938 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004605/0.2459, allocations: 297.1 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.2459, allocations: 39.91 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.246, allocations: 43.72 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.2464, allocations: 275.4 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2464, allocations: 0 / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2464, allocations: 0 / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2464, allocations: 7.938 kB / 0.7869 GB, free: 9.867 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.0006641/0.2471, allocations: 435.3 kB / 0.7873 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2471, allocations: 12.03 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.2472, allocations: 46.73 kB / 0.7874 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.2472, allocations: 16.75 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2473, allocations: 176 kB / 0.7876 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2474, allocations: 8 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.2474, allocations: 12 kB / 0.7876 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.2477, allocations: 222.6 kB / 0.7878 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2477, allocations: 4 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.2478, allocations: 8 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.2478, allocations: 4 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.248, allocations: 179.8 kB / 0.788 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.2483, allocations: 278 kB / 0.7883 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007201/0.2491, allocations: 407.8 kB / 0.7886 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.2493, allocations: 189.1 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/0.2497, allocations: 195.2 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2497, allocations: 38.56 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.2497, allocations: 4 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006747/0.2504, allocations: 390.6 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/0.2505, allocations: 183.9 kB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.193e-05/0.2506, allocations: 89.86 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2506, allocations: 29.7 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/0.2506, allocations: 84.7 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.2508, allocations: 110.4 kB / 0.7899 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.2508, allocations: 49.69 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.251, allocations: 330.8 kB / 0.7903 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.2511, allocations: 87.98 kB / 0.7903 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2513, allocations: 137.1 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.2517, allocations: 260.9 kB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2517, allocations: 11.94 kB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004268/0.2521, allocations: 281.3 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.2522, allocations: 8.781 kB / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2522, allocations: 0 / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2522, allocations: 4 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.2524, allocations: 55.89 kB / 0.7911 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.2524, allocations: 4 kB / 0.7911 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.2525, allocations: 19.75 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.2526, allocations: 15.98 kB / 0.7911 GB, free: 5.141 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.0001168/0.2527, allocations: 142.4 kB / 0.7912 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.2527, allocations: 11.91 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.2533, allocations: 361.2 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2533, allocations: 7.938 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2533, allocations: 0 / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2534, allocations: 4 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2536, allocations: 257.3 kB / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2536, allocations: 0 / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.2538, allocations: 59.89 kB / 0.7919 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2538, allocations: 4 kB / 0.7919 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.2539, allocations: 8 kB / 0.7919 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2539, allocations: 7.984 kB / 0.7919 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2539, allocations: 0 / 0.7919 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.2543, allocations: 349.5 kB / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.2544, allocations: 96.94 kB / 0.7924 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.2544, allocations: 4 kB / 0.7924 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.2545, allocations: 8 kB / 0.7924 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.2546, allocations: 23.97 kB / 0.7924 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2546, allocations: 16.23 kB / 0.7924 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.2546, allocations: 79.33 kB / 0.7925 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2546, allocations: 4 kB / 0.7925 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003832/0.255, allocations: 91.92 kB / 0.7926 GB, free: 3.52 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.00112/0.2562, allocations: 0.9997 MB / 0.7936 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.2566, allocations: 267.7 kB / 0.7938 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2566, allocations: 0 / 0.7938 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.2568, allocations: 139.8 kB / 0.7939 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.257, allocations: 12 kB / 0.794 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.2577, allocations: 445.4 kB / 0.7944 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.258, allocations: 0.7124 MB / 0.7951 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.2583, allocations: 105.4 kB / 0.7952 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.2584, allocations: 43.41 kB / 0.7952 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.2584, allocations: 0 / 0.7952 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.278, allocations: 4.059 MB / 0.7992 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.079, allocations: 17.06 kB / 0.7992 GB, free: 12.71 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)