Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.526/1.526, allocations: 287.4 MB / 302.6 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001141/0.001142, allocations: 192.9 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000993/0.0009931, allocations: 104.3 kB / 0.7431 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.000402, allocations: 17.31 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2288, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0008202/0.2297, allocations: 318.6 kB / 0.979 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.2322, allocations: 1.701 MB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.2323, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.2324, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.078e-05/0.2324, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.2334, allocations: 250.7 kB / 0.9809 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2336, allocations: 99.81 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.2336, allocations: 4 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.394e-05/0.2337, allocations: 39.97 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2338, allocations: 55.92 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.2338, allocations: 4 kB / 0.9811 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.2344, allocations: 263.7 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.2344, allocations: 43.83 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.2345, allocations: 45.64 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.2348, allocations: 175.7 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2349, allocations: 0 / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2349, allocations: 0 / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2349, allocations: 0 / 0.9816 GB, free: 25.12 MB / 0.6198 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.0006241/0.2355, allocations: 419.6 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.2356, allocations: 12.03 kB / 0.9821 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.2356, allocations: 46.75 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.2357, allocations: 12.75 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.2357, allocations: 176 kB / 0.9823 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.2358, allocations: 16 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.2358, allocations: 12 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.2361, allocations: 227.1 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2361, allocations: 0 / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.2362, allocations: 4 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2362, allocations: 4 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.2364, allocations: 179.8 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.2367, allocations: 278 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.2373, allocations: 411.8 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.2375, allocations: 177.1 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.2379, allocations: 199.2 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2379, allocations: 50.48 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.2379, allocations: 0 / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0005863/0.2385, allocations: 382.5 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.2386, allocations: 187.9 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.168e-05/0.2386, allocations: 89.86 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2387, allocations: 29.7 kB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.618e-05/0.2387, allocations: 84.7 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.2388, allocations: 94.56 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.2388, allocations: 11.94 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.2389, allocations: 322.8 kB / 0.9849 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.239, allocations: 87.92 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2391, allocations: 129.1 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.2395, allocations: 265.1 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2395, allocations: 3.938 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000366/0.2398, allocations: 285.3 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2399, allocations: 4 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2399, allocations: 4 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2399, allocations: 0 / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.2401, allocations: 59.89 kB / 0.9857 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.2402, allocations: 0 / 0.9857 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.574e-05/0.2403, allocations: 19.75 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2403, allocations: 15.98 kB / 0.9858 GB, free: 20.49 MB / 0.6198 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.0001107/0.2404, allocations: 149.7 kB / 0.9859 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.2404, allocations: 7.906 kB / 0.9859 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005109/0.241, allocations: 365.2 kB / 0.9862 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.241, allocations: 8 kB / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.241, allocations: 0 / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.241, allocations: 0 / 0.9863 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.2412, allocations: 257.3 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2412, allocations: 8 kB / 0.9865 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.2414, allocations: 59.89 kB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.2414, allocations: 4 kB / 0.9866 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.2415, allocations: 11.98 kB / 0.9866 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.2415, allocations: 4 kB / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.2415, allocations: 0 / 0.9866 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.2419, allocations: 348.9 kB / 0.9869 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.2419, allocations: 96.89 kB / 0.987 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.2419, allocations: 4 kB / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.803e-05/0.242, allocations: 4 kB / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.2421, allocations: 27.95 kB / 0.987 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2421, allocations: 12.31 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.659e-05/0.2421, allocations: 87.27 kB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2421, allocations: 0 / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003907/0.2425, allocations: 95.98 kB / 0.9872 GB, free: 18.86 MB / 0.6198 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.001051/0.2436, allocations: 0.9852 MB / 0.9882 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.2439, allocations: 244 kB / 0.9884 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.244, allocations: 4 kB / 0.9884 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.2441, allocations: 139.8 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2443, allocations: 19.94 kB / 0.9886 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.2451, allocations: 463.3 kB / 0.989 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.2452, allocations: 0.7127 MB / 0.9897 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.2455, allocations: 109.4 kB / 0.9898 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.2455, allocations: 43.41 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of SimCode: time 4.11e-07/0.2456, allocations: 4 kB / 0.9899 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2946/0.5402, allocations: 3.741 MB / 0.9935 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.5404, allocations: 233.8 kB / 0.9937 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.216, allocations: 0 / 0.9937 GB, free: 12.23 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)