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.0008017/0.0008017, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008238/0.0008238, allocations: 168.7 kB / 15.95 MB, free: 204 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.625/1.625, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.837/1.837, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005609/0.000561, allocations: 19.25 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2703, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001/0.2714, allocations: 334.5 kB / 0.7877 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.2747, allocations: 1.693 MB / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.064e-05/0.2748, allocations: 0 / 0.7894 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.2748, allocations: 3.938 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.496e-06/0.2748, allocations: 0 / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2759, allocations: 245.5 kB / 0.7896 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.2761, allocations: 95.88 kB / 0.7897 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.2761, allocations: 11.98 kB / 0.7897 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.73e-05/0.2762, allocations: 43.91 kB / 0.7898 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.2763, allocations: 55.94 kB / 0.7898 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.2764, allocations: 4 kB / 0.7898 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.2769, allocations: 263.7 kB / 0.7901 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.277, allocations: 39.89 kB / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.2771, allocations: 37.7 kB / 0.7901 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.2774, allocations: 175.7 kB / 0.7903 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2774, allocations: 3.938 kB / 0.7903 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2774, allocations: 0 / 0.7903 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2774, allocations: 0 / 0.7903 GB, free: 8.84 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.000729/0.2782, allocations: 423.4 kB / 0.7907 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.2782, allocations: 12.03 kB / 0.7907 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.623e-05/0.2783, allocations: 42.56 kB / 0.7908 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.2784, allocations: 11.81 kB / 0.7908 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.2785, allocations: 178.9 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.2785, allocations: 12 kB / 0.791 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.2786, allocations: 12 kB / 0.791 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.279, allocations: 218.6 kB / 0.7912 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.279, allocations: 3.938 kB / 0.7912 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.2791, allocations: 7.984 kB / 0.7912 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2791, allocations: 4 kB / 0.7912 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.2794, allocations: 179.8 kB / 0.7914 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.2797, allocations: 282 kB / 0.7916 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007265/0.2805, allocations: 407.8 kB / 0.792 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.2807, allocations: 177.2 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/0.2811, allocations: 199.2 kB / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.2811, allocations: 46.48 kB / 0.7924 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.2811, allocations: 0 / 0.7924 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0006304/0.2818, allocations: 382.6 kB / 0.7928 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.2819, allocations: 191.9 kB / 0.793 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.2819, allocations: 89.86 kB / 0.7931 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.282, allocations: 33.7 kB / 0.7931 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.042e-05/0.282, allocations: 80.7 kB / 0.7932 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.2821, allocations: 98.55 kB / 0.7933 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.2821, allocations: 7.938 kB / 0.7933 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.2823, allocations: 326.8 kB / 0.7936 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2824, allocations: 87.92 kB / 0.7937 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2826, allocations: 146 kB / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.2828, allocations: 111.9 kB / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2828, allocations: 0 / 0.7939 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004389/0.2832, allocations: 285.5 kB / 0.7942 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2832, allocations: 11.98 kB / 0.7942 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2833, allocations: 0 / 0.7942 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2833, allocations: 8 kB / 0.7942 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2835, allocations: 55.91 kB / 0.7943 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2835, allocations: 4 kB / 0.7943 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.2836, allocations: 15.84 kB / 0.7943 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.2836, allocations: 15.97 kB / 0.7943 GB, free: 4.352 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.0001314/0.2838, allocations: 137.7 kB / 0.7944 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.2838, allocations: 15.91 kB / 0.7944 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005812/0.2844, allocations: 356.7 kB / 0.7948 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2844, allocations: 8 kB / 0.7948 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2844, allocations: 4 kB / 0.7948 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2845, allocations: 4.547 kB / 0.7948 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.2847, allocations: 257.4 kB / 0.795 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2847, allocations: 0 / 0.795 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.285, allocations: 63.91 kB / 0.7951 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.285, allocations: 4 kB / 0.7951 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.285, allocations: 11.98 kB / 0.7951 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.285, allocations: 3.938 kB / 0.7951 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.285, allocations: 4 kB / 0.7951 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.2855, allocations: 333.1 kB / 0.7954 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.2856, allocations: 96.91 kB / 0.7955 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.2856, allocations: 7.984 kB / 0.7955 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.191e-05/0.2857, allocations: 12 kB / 0.7956 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.2857, allocations: 23.97 kB / 0.7956 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.2858, allocations: 11.98 kB / 0.7956 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.2858, allocations: 75.28 kB / 0.7957 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2858, allocations: 0 / 0.7957 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004314/0.2862, allocations: 92 kB / 0.7958 GB, free: 2.742 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.00119/0.2874, allocations: 0.997 MB / 0.7967 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.2879, allocations: 248 kB / 0.797 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2879, allocations: 0 / 0.797 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.2881, allocations: 139.8 kB / 0.7971 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.2883, allocations: 12 kB / 0.7971 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.2891, allocations: 458.9 kB / 0.7975 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2894, allocations: 0.7127 MB / 0.7982 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.2897, allocations: 109.4 kB / 0.7983 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.2898, allocations: 39.41 kB / 0.7984 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2898, allocations: 0 / 0.7984 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.3066, allocations: 3.751 MB / 0.802 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003284/0.307, allocations: 245.4 kB / 0.8023 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.236, allocations: 0.75 kB / 0.8023 GB, free: 12.07 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: