Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.517/1.517, allocations: 287.4 MB / 302.5 MB, free: 8.297 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.001044/0.001044, allocations: 183.5 kB / 371.1 MB, free: 10.81 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.33/1.33, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.001059/0.001059, allocations: 90.98 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 12.53 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.228, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001669/0.2297, allocations: 1.309 MB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.2311, allocations: 0.8486 MB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.2312, allocations: 0 / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.962e-05/0.2313, allocations: 0 / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.2315, allocations: 23.8 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.2319, allocations: 96.92 kB / 0.981 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.232, allocations: 71.72 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.2321, allocations: 15.94 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.2322, allocations: 23.92 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2324, allocations: 39.83 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.2324, allocations: 3.938 kB / 0.9811 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.2327, allocations: 263.7 kB / 0.9814 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.2327, allocations: 15.92 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.2328, allocations: 37.7 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.233, allocations: 100 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.233, allocations: 0 / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.233, allocations: 0 / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.233, allocations: 0 / 0.9815 GB, free: 25.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004877/0.2335, allocations: 395.3 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.2335, allocations: 16.03 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.2336, allocations: 38.75 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.2337, allocations: 12.84 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.2339, allocations: 192 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.2339, allocations: 4.375 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2339, allocations: 3.938 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.2341, allocations: 61.67 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2341, allocations: 0 / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2341, allocations: 8 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2341, allocations: 0 / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.2343, allocations: 51.95 kB / 0.9823 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.2347, allocations: 304.8 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.2348, allocations: 58.53 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.2349, allocations: 32.97 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.235, allocations: 4 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.235, allocations: 34.56 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.235, allocations: 0 / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003403/0.2353, allocations: 117.5 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.2354, allocations: 55.41 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.2354, allocations: 140.4 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.2355, allocations: 25.7 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.2355, allocations: 100 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.2355, allocations: 15.75 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.2355, allocations: 0 / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.2356, allocations: 326.8 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/0.2357, allocations: 27.98 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.256e-05/0.2358, allocations: 23.98 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.2359, allocations: 64.83 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2359, allocations: 4 kB / 0.9835 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001962/0.2361, allocations: 101.5 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2361, allocations: 4 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2362, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2362, allocations: 0 / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.2363, allocations: 15.98 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2363, allocations: 7.984 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.2364, allocations: 11.94 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2364, allocations: 448 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 5.743e-05/0.2364, allocations: 121.8 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.2365, allocations: 7.906 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.2367, allocations: 113.9 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2367, allocations: 0 / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2367, allocations: 0 / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2368, allocations: 11.92 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2369, allocations: 181.7 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.2369, allocations: 0 / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.237, allocations: 15.98 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.237, allocations: 0 / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.237, allocations: 4 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.237, allocations: 4 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.237, allocations: 0 / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.2372, allocations: 199.3 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.2373, allocations: 85.02 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.2373, allocations: 4 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.2374, allocations: 8 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.2374, allocations: 3.984 kB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.2375, allocations: 11.88 kB / 0.9844 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.2375, allocations: 95.27 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2375, allocations: 0 / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002117/0.2377, allocations: 31.98 kB / 0.9845 GB, free: 21.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0004663/0.2382, allocations: 0.7357 MB / 0.9852 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2384, allocations: 63.97 kB / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2384, allocations: 0 / 0.9853 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.879e-05/0.2385, allocations: 39.91 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2388, allocations: 18.11 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008431/0.2396, allocations: 0.6135 MB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.2397, allocations: 0.6926 MB / 0.9866 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.2398, allocations: 11.94 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.2398, allocations: 19.42 kB / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2398, allocations: 0 / 0.9867 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08117/0.321, allocations: 2.003 MB / 0.9886 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.3212, allocations: 211.2 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.01, allocations: 6.594 kB / 0.9888 GB, free: 17.43 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)