Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 195.2 kB / 16.64 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.63/1.63, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002615/0.002615, allocations: 69.03 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2109, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002726/0.2137, allocations: 1.596 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.2139, allocations: 59.75 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.2139, allocations: 0 / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.214, allocations: 7.922 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.214, allocations: 11.88 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.315e-05/0.2141, allocations: 19.97 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.2142, allocations: 75.72 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.2143, allocations: 20.16 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.2144, allocations: 27.92 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.2145, allocations: 35.78 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2145, allocations: 8 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.2145, allocations: 4 kB / 0.7855 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2145, allocations: 19.92 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.2146, allocations: 23.86 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.2147, allocations: 64 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2147, allocations: 4 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2147, allocations: 0 / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2147, allocations: 0 / 0.7856 GB, free: 11.26 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005584/0.2153, allocations: 399.2 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2153, allocations: 8.031 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.2153, allocations: 34.69 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.2154, allocations: 8.844 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.2155, allocations: 176.2 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2155, allocations: 8.375 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2155, allocations: 8.125 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.2158, allocations: 97.56 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2159, allocations: 0 / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.2159, allocations: 3.984 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.2159, allocations: 3.938 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.2163, allocations: 103.9 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.2167, allocations: 300.7 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.217, allocations: 90.55 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2172, allocations: 64.92 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.2172, allocations: 0 / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.2173, allocations: 34.56 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.2173, allocations: 0 / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006753/0.2179, allocations: 189.4 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.218, allocations: 59.39 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.2181, allocations: 113.8 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2181, allocations: 33.64 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.2181, allocations: 92.08 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.2182, allocations: 23.7 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.2182, allocations: 17.72 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2184, allocations: 322.8 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.2186, allocations: 47.89 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.2187, allocations: 55.94 kB / 0.7878 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.2191, allocations: 109.1 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2191, allocations: 0 / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004112/0.2195, allocations: 137.6 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2196, allocations: 4.938 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2196, allocations: 3.984 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2196, allocations: 0 / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.2197, allocations: 31.91 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2198, allocations: 4 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.2199, allocations: 19.83 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2199, allocations: 7.938 kB / 0.7881 GB, free: 8.469 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.859e-05/0.22, allocations: 114.5 kB / 0.7882 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.22, allocations: 4 kB / 0.7882 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.22, allocations: 16.31 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.22, allocations: 0 / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.22, allocations: 4 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.22, allocations: 0 / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2202, allocations: 193.5 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2202, allocations: 0 / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.2204, allocations: 31.97 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2204, allocations: 0 / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.2204, allocations: 0 / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2204, allocations: 3.984 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.2204, allocations: 3.984 kB / 0.7884 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.2208, allocations: 243.3 kB / 0.7887 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.2209, allocations: 85.02 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.2209, allocations: 0 / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2211, allocations: 28.09 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.2211, allocations: 4 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.2211, allocations: 4 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.2212, allocations: 95.2 kB / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2212, allocations: 0 / 0.7889 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002119/0.2214, allocations: 12 kB / 0.7889 GB, free: 7.551 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006923/0.2221, allocations: 0.7748 MB / 0.7896 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.2225, allocations: 111.9 kB / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2225, allocations: 0 / 0.7897 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.2227, allocations: 63.88 kB / 0.7898 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2231, allocations: 14.38 kB / 0.7898 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.2236, allocations: 211.5 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.2238, allocations: 0.6923 MB / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.878e-05/0.2239, allocations: 0 / 0.7907 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.2239, allocations: 19.44 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2239, allocations: 0 / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.2398, allocations: 2.155 MB / 0.7928 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/7.158, allocations: 5.234 kB / 0.7928 GB, free: 3.574 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1)