Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001257/0.001257, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.315/1.315, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.62/1.62, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001506/0.001506, allocations: 66.03 kB / 0.6711 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2191, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003194/0.2223, allocations: 1.678 MB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.2238, allocations: 0.8977 MB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.2239, allocations: 0 / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.224, allocations: 3.938 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.2243, allocations: 23.84 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.2247, allocations: 123.8 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.2249, allocations: 71.72 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.225, allocations: 15.92 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.2251, allocations: 39.8 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.2252, allocations: 35.83 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2252, allocations: 4 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.2256, allocations: 283.7 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.2256, allocations: 15.98 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.2257, allocations: 31.8 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.2259, allocations: 143.9 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.226, allocations: 4 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.226, allocations: 0 / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.226, allocations: 0 / 0.7863 GB, free: 10.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005794/0.2266, allocations: 411.1 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2266, allocations: 8.031 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.453e-05/0.2267, allocations: 34.75 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.2268, allocations: 12.84 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.227, allocations: 200.1 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.227, allocations: 384 / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.227, allocations: 7.938 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.2272, allocations: 57.67 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2272, allocations: 0 / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2272, allocations: 4 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.2272, allocations: 0 / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.2274, allocations: 47.95 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.2278, allocations: 296.7 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.228, allocations: 62.55 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.2281, allocations: 24.97 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2281, allocations: 4.062 kB / 0.7874 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2281, allocations: 34.55 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.2282, allocations: 4 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0003503/0.2285, allocations: 105.5 kB / 0.7875 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2286, allocations: 63.39 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.2287, allocations: 124.3 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2287, allocations: 29.69 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.2288, allocations: 96.14 kB / 0.7878 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.2288, allocations: 15.75 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.2288, allocations: 21.7 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2289, allocations: 322.8 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.229, allocations: 23.98 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.427e-05/0.2291, allocations: 23.98 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.2293, allocations: 52.83 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2293, allocations: 0 / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000208/0.2295, allocations: 89.95 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2295, allocations: 11.94 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2295, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2295, allocations: 4 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.2297, allocations: 15.98 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2297, allocations: 4 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.2297, allocations: 15.83 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2298, allocations: 0 / 0.7884 GB, free: 7.996 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 7.563e-05/0.2298, allocations: 114.5 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.2299, allocations: 4 kB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.2301, allocations: 113.7 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2302, allocations: 0 / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2302, allocations: 4 kB / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2302, allocations: 3.938 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.2304, allocations: 177.6 kB / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2304, allocations: 0 / 0.7888 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/0.2304, allocations: 15.98 kB / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2305, allocations: 0 / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2305, allocations: 0 / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2305, allocations: 0 / 0.7888 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2305, allocations: 7.984 kB / 0.7888 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.2307, allocations: 191.3 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.2308, allocations: 81.02 kB / 0.7891 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.2308, allocations: 7.984 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.2309, allocations: 0 / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2309, allocations: 11.98 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.231, allocations: 7.938 kB / 0.7891 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.231, allocations: 99.27 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.231, allocations: 0 / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002425/0.2313, allocations: 23.94 kB / 0.7892 GB, free: 7.047 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.0005566/0.2318, allocations: 0.7359 MB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.2321, allocations: 59.97 kB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2321, allocations: 0 / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.2322, allocations: 31.98 kB / 0.79 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.2325, allocations: 19.84 kB / 0.79 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.234, allocations: 1.462 MB / 0.7915 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2342, allocations: 0.6885 MB / 0.7921 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.1e-05/0.2343, allocations: 11.98 kB / 0.7921 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.2343, allocations: 23.44 kB / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2343, allocations: 0 / 0.7922 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/0.3774, allocations: 2.154 MB / 0.7943 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.3776, allocations: 218.3 kB / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.215, allocations: 3.938 kB / 0.7945 GB, free: 1.621 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)