Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.605/1.605, allocations: 288.4 MB / 303.6 MB, free: 8.008 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.001012/0.001012, allocations: 189.6 kB / 372.3 MB, free: 10.11 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.632/1.632, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.001028/0.001028, allocations: 98.86 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003942, allocations: 17.56 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2196, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001857/0.2215, allocations: 1.797 MB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2229, allocations: 0.972 MB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.223, allocations: 7.938 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.167e-05/0.2231, allocations: 11.86 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.2233, allocations: 79.41 kB / 0.983 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.2236, allocations: 127.7 kB / 0.9831 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.2238, allocations: 274.8 kB / 0.9834 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.224, allocations: 45 kB / 0.9834 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.386e-05/0.2241, allocations: 95.56 kB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.2242, allocations: 127.5 kB / 0.9836 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.2243, allocations: 8 kB / 0.9836 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.2246, allocations: 271.7 kB / 0.9839 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.2246, allocations: 39.77 kB / 0.9839 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.2247, allocations: 121.1 kB / 0.9841 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.2249, allocations: 227.3 kB / 0.9843 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2249, allocations: 0 / 0.9843 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2249, allocations: 0 / 0.9843 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.2249, allocations: 0 / 0.9843 GB, free: 23.02 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008148/0.2258, allocations: 0.6117 MB / 0.9849 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2258, allocations: 12.03 kB / 0.9849 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.2259, allocations: 46.73 kB / 0.9849 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.226, allocations: 36.56 kB / 0.985 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.2263, allocations: 275.5 kB / 0.9852 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.2263, allocations: 20.66 kB / 0.9852 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2263, allocations: 15.94 kB / 0.9853 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.2268, allocations: 256.2 kB / 0.9855 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2268, allocations: 0 / 0.9855 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2268, allocations: 4 kB / 0.9855 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2269, allocations: 4 kB / 0.9855 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.2275, allocations: 243.7 kB / 0.9857 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008802/0.2284, allocations: 0.95 MB / 0.9867 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/0.2291, allocations: 261.2 kB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.2294, allocations: 129.6 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.2295, allocations: 4 kB / 0.987 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.2295, allocations: 30.56 kB / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.2295, allocations: 4 kB / 0.9871 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001101/0.2306, allocations: 397.3 kB / 0.9875 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2306, allocations: 85.11 kB / 0.9875 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.2309, allocations: 267 kB / 0.9878 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.2309, allocations: 37.64 kB / 0.9878 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.231, allocations: 156.1 kB / 0.988 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.231, allocations: 59.19 kB / 0.988 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.231, allocations: 4 kB / 0.988 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.2311, allocations: 338.8 kB / 0.9884 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.2314, allocations: 107.9 kB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.2317, allocations: 169.9 kB / 0.9886 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.2323, allocations: 285.7 kB / 0.9889 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2323, allocations: 4 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007496/0.2331, allocations: 333.1 kB / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2331, allocations: 4 kB / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2331, allocations: 0 / 0.9892 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2331, allocations: 7.938 kB / 0.9892 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.2334, allocations: 68.08 kB / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2334, allocations: 7.984 kB / 0.9893 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.2337, allocations: 47.81 kB / 0.9893 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.2337, allocations: 8.703 kB / 0.9894 GB, free: 17.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 9.412e-05/0.2338, allocations: 145.7 kB / 0.9895 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/0.2339, allocations: 27.62 kB / 0.9895 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/0.2346, allocations: 339.2 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2347, allocations: 4 kB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.2347, allocations: 0 / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2347, allocations: 3.984 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.235, allocations: 297.3 kB / 0.9901 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.235, allocations: 4 kB / 0.9901 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.2352, allocations: 67.89 kB / 0.9902 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2352, allocations: 0 / 0.9902 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2352, allocations: 4 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2353, allocations: 4 kB / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2353, allocations: 0 / 0.9902 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.236, allocations: 492.5 kB / 0.9907 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.2361, allocations: 104.7 kB / 0.9908 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.2361, allocations: 4 kB / 0.9908 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.2363, allocations: 39.95 kB / 0.9908 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.32e-05/0.2364, allocations: 19.98 kB / 0.9908 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2364, allocations: 4 kB / 0.9908 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001227/0.2366, allocations: 190 kB / 0.991 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2366, allocations: 0 / 0.991 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000348/0.2369, allocations: 56.23 kB / 0.9911 GB, free: 15.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0009799/0.2379, allocations: 1.039 MB / 0.9921 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006943/0.2386, allocations: 268.1 kB / 0.9924 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2386, allocations: 192 / 0.9924 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.239, allocations: 143.8 kB / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.2395, allocations: 67.72 kB / 0.9926 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.2419, allocations: 1.567 MB / 0.9941 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.242, allocations: 0.7482 MB / 0.9948 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.2422, allocations: 30.3 kB / 0.9948 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.2423, allocations: 87.39 kB / 0.9949 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.2423, allocations: 3.938 kB / 0.9949 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4664/0.7087, allocations: 5.873 MB / 1.001 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.7089, allocations: 209.5 kB / 1.001 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.217/2.926, allocations: 4 kB / 1.001 GB, free: 5.672 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)