Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",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 2.638/2.638, allocations: 287.3 MB / 302.3 MB, free: 8.219 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.001627/0.001627, allocations: 175 kB / 370.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.316/2.316, allocations: 205.4 MB / 0.6295 GB, free: 10.67 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.001137/0.001137, allocations: 92.97 kB / 0.7428 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007535/0.0007538, allocations: 13.95 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2341, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.001856/0.236, allocations: 1.289 MB / 0.9796 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001403/0.2362, allocations: 59.83 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.2362, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.2363, allocations: 3.938 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.2364, allocations: 19.95 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.569e-05/0.2365, allocations: 11.98 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.13e-05/0.2366, allocations: 43.89 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.2367, allocations: 12.17 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.413e-05/0.2367, allocations: 27.92 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.2368, allocations: 23.91 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2369, allocations: 11.88 kB / 0.9798 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.2369, allocations: 4 kB / 0.9798 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.2369, allocations: 11.97 kB / 0.9798 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.2369, allocations: 37.64 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.846e-05/0.237, allocations: 44.14 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.237, allocations: 4 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.575e-06/0.237, allocations: 3.984 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.2371, allocations: 0 / 0.9799 GB, free: 26.7 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006875/0.2378, allocations: 399.1 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2378, allocations: 8.031 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.2379, allocations: 38.56 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.2379, allocations: 7.906 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.238, allocations: 174.9 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.238, allocations: 0 / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.2381, allocations: 4 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.2386, allocations: 113.6 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.2386, allocations: 3.984 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2386, allocations: 4 kB / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2386, allocations: 0 / 0.9806 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/0.2394, allocations: 135.9 kB / 0.9807 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.2398, allocations: 304.7 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.2404, allocations: 110.5 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2404, allocations: 0 / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.2404, allocations: 42.55 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.2404, allocations: 0 / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.001212/0.2417, allocations: 245.6 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.2417, allocations: 51.41 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.2418, allocations: 121.8 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2418, allocations: 25.7 kB / 0.9816 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.212e-05/0.2419, allocations: 96.06 kB / 0.9817 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.2419, allocations: 19.72 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.2419, allocations: 0 / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.242, allocations: 322.8 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.2424, allocations: 59.95 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.2427, allocations: 67.94 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.2431, allocations: 63.95 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2431, allocations: 3.938 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008243/0.244, allocations: 173.6 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.244, allocations: 11.94 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.244, allocations: 0 / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.244, allocations: 0 / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.2443, allocations: 35.97 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2443, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.2445, allocations: 39.77 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2446, allocations: 7.984 kB / 0.9824 GB, free: 23.84 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 8.136e-05/0.2447, allocations: 109.8 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.2447, allocations: 4 kB / 0.9825 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.169e-05/0.2448, allocations: 16.38 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2448, allocations: 0 / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2448, allocations: 0 / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2448, allocations: 0 / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.245, allocations: 189.5 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.245, allocations: 4 kB / 0.9827 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.2453, allocations: 35.97 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.2453, allocations: 3.938 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.2453, allocations: 0 / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2453, allocations: 0 / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2453, allocations: 4.375 kB / 0.9828 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.2461, allocations: 279.4 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.2462, allocations: 81.02 kB / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.2462, allocations: 0 / 0.9831 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.2465, allocations: 27.97 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.2466, allocations: 7.984 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2466, allocations: 4 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.2466, allocations: 95.27 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2467, allocations: 0 / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000296/0.247, allocations: 12 kB / 0.9833 GB, free: 22.89 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.001067/0.248, allocations: 0.806 MB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008086/0.2489, allocations: 139.9 kB / 0.9842 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2489, allocations: 0 / 0.9842 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.2493, allocations: 79.88 kB / 0.9843 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.2496, allocations: 15.92 kB / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.2503, allocations: 215 kB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.2504, allocations: 0.6887 MB / 0.9852 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.914e-05/0.2505, allocations: 8 kB / 0.9852 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.2506, allocations: 19.42 kB / 0.9852 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of SimCode: time 2.004e-06/0.2506, allocations: 0 / 0.9852 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.2695, allocations: 1.742 MB / 0.9869 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.2698, allocations: 203.2 kB / 0.9871 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.561, allocations: 0 / 0.9871 GB, free: 19.04 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1)